projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6482f32
)
[NFC][InstCombine] Autogenerate cast.ll test
author
Roman Lebedev
<lebedev.ri@gmail.com>
Tue, 27 Oct 2020 10:46:28 +0000
(13:46 +0300)
committer
Roman Lebedev
<lebedev.ri@gmail.com>
Tue, 27 Oct 2020 11:42:52 +0000
(14:42 +0300)
llvm/test/Transforms/InstCombine/cast.ll
patch
|
blob
|
history
diff --git
a/llvm/test/Transforms/InstCombine/cast.ll
b/llvm/test/Transforms/InstCombine/cast.ll
index c7217b9f4dd356070d911780dabf3e53c9986799..61991adcbb9c788a53f036c3ae0c27ad5d7755ce 100644
(file)
--- a/
llvm/test/Transforms/InstCombine/cast.ll
+++ b/
llvm/test/Transforms/InstCombine/cast.ll
@@
-459,8
+459,8
@@
define i64 @test38(i32 %a) {
define i16 @test39(i16 %a) {
; ALL-LABEL: @test39(
-; ALL-NEXT: [[
REV
:%.*]] = call i16 @llvm.bswap.i16(i16 [[A:%.*]])
-; ALL-NEXT: ret i16 [[
REV
]]
+; ALL-NEXT: [[
T32
:%.*]] = call i16 @llvm.bswap.i16(i16 [[A:%.*]])
+; ALL-NEXT: ret i16 [[
T32
]]
;
%t = zext i16 %a to i32
%t21 = lshr i32 %t, 8