diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-02-02 00:32:03 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-02-02 00:32:03 +0000 |
commit | dc5e583687d01325c2a74c1a8da73ef892d7bfbe (patch) | |
tree | 3ccd85fc0dabc5c1f843686c6b10d6e82aaf0abf /llvm/test | |
parent | db6e9e89a9a9239b4bf66632864bf4dd9c538d56 (diff) | |
download | bcm5719-llvm-dc5e583687d01325c2a74c1a8da73ef892d7bfbe.tar.gz bcm5719-llvm-dc5e583687d01325c2a74c1a8da73ef892d7bfbe.zip |
X86: Produce @ABS8 symbol modifiers for absolute symbols in range [0,128).
Differential Revision: https://reviews.llvm.org/D28689
llvm-svn: 293844
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/CodeGen/X86/absolute-rotate.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/absolute-rotate.ll b/llvm/test/CodeGen/X86/absolute-rotate.ll index c0ecb82adc2..6240e8d3f76 100644 --- a/llvm/test/CodeGen/X86/absolute-rotate.ll +++ b/llvm/test/CodeGen/X86/absolute-rotate.ll @@ -11,7 +11,7 @@ declare void @f() define void @foo(i64 %val) { %shr = lshr i64 %val, zext (i8 ptrtoint (i8* @align to i8) to i64) %shl = shl i64 %val, zext (i8 sub (i8 64, i8 ptrtoint (i8* @align to i8)) to i64) - ; CHECK: rorq $align, %rdi + ; CHECK: rorq $align@ABS8, %rdi %ror = or i64 %shr, %shl %cmp = icmp ult i64 %ror, 109 br i1 %cmp, label %t, label %f @@ -24,4 +24,4 @@ f: ret void } -!0 = !{i64 0, i64 256} +!0 = !{i64 0, i64 128} |