Mercurial > hg > Members > tobaru > cbc > CbC_llvm
diff test/CodeGen/AArch64/arm64-shifted-sext.ll @ 83:60c9769439b8
LLVM 3.7
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 18 Feb 2015 14:55:36 +0900 |
parents | 54457678186b |
children | 1172e4bd9c6f |
line wrap: on
line diff
--- a/test/CodeGen/AArch64/arm64-shifted-sext.ll Mon Sep 08 22:07:30 2014 +0900 +++ b/test/CodeGen/AArch64/arm64-shifted-sext.ll Wed Feb 18 14:55:36 2015 +0900 @@ -166,8 +166,8 @@ define i32 @extendedLeftShiftshortTointBy16(i16 signext %a) nounwind readnone ssp { entry: ; CHECK-LABEL: extendedLeftShiftshortTointBy16: -; CHECK: add [[REG:w[0-9]+]], w0, #1 -; CHECK: lsl w0, [[REG]], #16 +; CHECK: lsl [[REG:w[0-9]+]], w0, #16 +; CHECK: add w0, [[REG]], #16, lsl #12 %inc = add i16 %a, 1 %conv2 = zext i16 %inc to i32 %shl = shl nuw i32 %conv2, 16