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 | c537f79dcd9d91577b8e0a41c11f68b628d73af4 (patch) | |
tree | 1703f4375e793e60d82d57c82002e10299a5493c /test/CodeGen/X86/atomic-pointer.ll | |
parent | 603e874c64c2328cf29395e328bf77c1851068d2 (diff) | |
download | external_llvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.zip external_llvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.tar.gz external_llvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.tar.bz2 |
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176538 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/atomic-pointer.ll')
-rw-r--r-- | test/CodeGen/X86/atomic-pointer.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/atomic-pointer.ll b/test/CodeGen/X86/atomic-pointer.ll index a455277..ec3e6c3 100644 --- a/test/CodeGen/X86/atomic-pointer.ll +++ b/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 |