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/atomic-pointer.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/atomic-pointer.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/atomic-pointer.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/atomic-pointer.ll b/llvm/test/CodeGen/X86/atomic-pointer.ll index a455277be4d..ec3e6c3a8c1 100644 --- a/llvm/test/CodeGen/X86/atomic-pointer.ll +++ b/llvm/test/CodeGen/X86/atomic-pointer.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=i686-none-linux | FileCheck %s +; RUN: llc < %s -mtriple=i686-none-linux -verify-machineinstrs | FileCheck %s define i32* @test_atomic_ptr_load(i32** %a0) { ; CHECK: test_atomic_ptr_load |