[llvm] 90152a6 - [NFC][InstCombine] Autogenerate cast.ll test
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 04:44:28 PDT 2020
Author: Roman Lebedev
Date: 2020-10-27T14:42:52+03:00
New Revision: 90152a602c127e1572d67139b07f09fa37047ed0
URL: https://github.com/llvm/llvm-project/commit/90152a602c127e1572d67139b07f09fa37047ed0
DIFF: https://github.com/llvm/llvm-project/commit/90152a602c127e1572d67139b07f09fa37047ed0.diff
LOG: [NFC][InstCombine] Autogenerate cast.ll test
Added:
Modified:
llvm/test/Transforms/InstCombine/cast.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/cast.ll b/llvm/test/Transforms/InstCombine/cast.ll
index c7217b9f4dd3..61991adcbb9c 100644
--- 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
More information about the llvm-commits
mailing list