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-load-store.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-load-store.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/atomic-load-store.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/atomic-load-store.ll b/llvm/test/CodeGen/X86/atomic-load-store.ll index fee45859c16..86a744ed00f 100644 --- a/llvm/test/CodeGen/X86/atomic-load-store.ll +++ b/llvm/test/CodeGen/X86/atomic-load-store.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -verify-machineinstrs | FileCheck %s -; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -O0 | FileCheck %s +; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -verify-machineinstrs -O0 | FileCheck %s define void @test1(i32* %ptr, i32 %val1) { ; CHECK: test1 |