diff options
author | Michael Liao <michael.liao@intel.com> | 2013-03-06 00:17:04 +0000 |
---|---|---|
committer | Michael Liao <michael.liao@intel.com> | 2013-03-06 00:17:04 +0000 |
commit | da22b30be5376ed9ca2fbc3024b4cc8365843ac4 (patch) | |
tree | b71e5612e28786ab25d2e3a6f7580d9764e16adc /llvm/test/CodeGen/X86/atomic8.ll | |
parent | b7129f21488682d3f61d84c19d169c92ff1d8c59 (diff) | |
download | bcm5719-llvm-da22b30be5376ed9ca2fbc3024b4cc8365843ac4.tar.gz bcm5719-llvm-da22b30be5376ed9ca2fbc3024b4cc8365843ac4.zip |
Fix PR15355
- Clear 'mayStore' flag when loading from the atomic variable before the
spin loop
- Clear kill flag from one use to multiple use in registers forming the
address to that atomic variable
- don't use a physical register as live-in register in BB (neither entry
nor landing pad.) by copying it into virtual register
(patch by Cameron Zwarich)
llvm-svn: 176538
Diffstat (limited to 'llvm/test/CodeGen/X86/atomic8.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/atomic8.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/atomic8.ll b/llvm/test/CodeGen/X86/atomic8.ll index 412428406dc..3278ed1f504 100644 --- a/llvm/test/CodeGen/X86/atomic8.ll +++ b/llvm/test/CodeGen/X86/atomic8.ll @@ -1,5 +1,5 @@ -; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 | FileCheck %s --check-prefix X64 -; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 | FileCheck %s --check-prefix X32 +; RUN: llc < %s -O0 -march=x86-64 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X64 +; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32 @sc8 = external global i8 |