summaryrefslogtreecommitdiff
path: root/test/CodeGen/AArch64/arm64-arith.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AArch64/arm64-arith.ll')
-rw-r--r--test/CodeGen/AArch64/arm64-arith.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/AArch64/arm64-arith.ll b/test/CodeGen/AArch64/arm64-arith.ll
index f36e706b15dda..d5d9a1b98174b 100644
--- a/test/CodeGen/AArch64/arm64-arith.ll
+++ b/test/CodeGen/AArch64/arm64-arith.ll
@@ -123,7 +123,8 @@ entry:
define i64 @t14(i16 %a, i64 %x) nounwind ssp {
entry:
; CHECK-LABEL: t14:
-; CHECK: add x0, x1, w0, uxth #3
+; CHECK: and w8, w0, #0xffff
+; CHECK: add x0, x1, w8, uxtw #3
; CHECK: ret
%c = zext i16 %a to i64
%d = shl i64 %c, 3