diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-05 14:44:16 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-02-05 14:44:16 +0000 |
commit | eb260b252749470654ef0655aa1d1334a4c0d983 (patch) | |
tree | 6daf85a72d3b8b1cc6c1d50b139384e2e054ad36 /test | |
parent | b0c899666a6c5397cf35fffd0f8d93749cb2cb38 (diff) | |
download | llvm-eb260b252749470654ef0655aa1d1334a4c0d983.tar.gz llvm-eb260b252749470654ef0655aa1d1334a4c0d983.tar.bz2 llvm-eb260b252749470654ef0655aa1d1334a4c0d983.tar.xz |
Revert r174343, "When the target-independent DAGCombiner inferred a higher alignment for a load,"
It caused hangups in compiling clang/lib/Parse/ParseDecl.cpp and clang/lib/Driver/Tools.cpp in stage2 on some hosts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/AArch64/func-argpassing.ll | 3 | ||||
-rw-r--r-- | test/CodeGen/X86/divide-by-constant.ll | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGen/AArch64/func-argpassing.ll b/test/CodeGen/AArch64/func-argpassing.ll index 760c8d49d0..db58798ca5 100644 --- a/test/CodeGen/AArch64/func-argpassing.ll +++ b/test/CodeGen/AArch64/func-argpassing.ll @@ -178,8 +178,7 @@ define void @check_i128_stackalign(i32 %val0, i32 %val1, i32 %val2, i32 %val3, ; Nothing local on stack in current codegen, so first stack is 16 away ; CHECK: ldr {{x[0-9]+}}, [sp, #16] ; Important point is that we address sp+24 for second dword -; CHECK: add [[REG:x[0-9]+]], sp, #16 -; CHECK: ldr {{x[0-9]+}}, {{\[}}[[REG]], #8] +; CHECK: ldr {{x[0-9]+}}, [sp, #24] ret void } diff --git a/test/CodeGen/X86/divide-by-constant.ll b/test/CodeGen/X86/divide-by-constant.ll index 9669d97cb7..8e7c13d8ef 100644 --- a/test/CodeGen/X86/divide-by-constant.ll +++ b/test/CodeGen/X86/divide-by-constant.ll @@ -56,9 +56,9 @@ entry: %div = sdiv i16 %x, 10 ret i16 %div ; CHECK: test6: -; CHECK: imull $26215, %eax, %ecx -; CHECK: sarl $18, %ecx -; CHECK: shrl $15, %eax +; CHECK: imull $26215, %eax, %eax +; CHECK: shrl $31, %ecx +; CHECK: sarl $18, %eax } define i32 @test7(i32 %x) nounwind { |