summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/atomic-minmax-i6432.ll
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2013-03-06 00:17:04 +0000
committerMichael Liao <michael.liao@intel.com>2013-03-06 00:17:04 +0000
commitc537f79dcd9d91577b8e0a41c11f68b628d73af4 (patch)
tree1703f4375e793e60d82d57c82002e10299a5493c /test/CodeGen/X86/atomic-minmax-i6432.ll
parent603e874c64c2328cf29395e328bf77c1851068d2 (diff)
downloadllvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.tar.gz
llvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.tar.bz2
llvm-c537f79dcd9d91577b8e0a41c11f68b628d73af4.tar.xz
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-minmax-i6432.ll')
-rw-r--r--test/CodeGen/X86/atomic-minmax-i6432.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/atomic-minmax-i6432.ll b/test/CodeGen/X86/atomic-minmax-i6432.ll
index e3ef605f7f..1a6db7781f 100644
--- a/test/CodeGen/X86/atomic-minmax-i6432.ll
+++ b/test/CodeGen/X86/atomic-minmax-i6432.ll
@@ -1,5 +1,5 @@
-; RUN: llc -march=x86 -mattr=+cmov -mtriple=i386-pc-linux < %s | FileCheck %s -check-prefix=LINUX
-; RUN: llc -march=x86 -mtriple=i386-macosx -relocation-model=pic < %s | FileCheck %s -check-prefix=PIC
+; RUN: llc -march=x86 -mattr=+cmov -mtriple=i386-pc-linux -verify-machineinstrs < %s | FileCheck %s -check-prefix=LINUX
+; RUN: llc -march=x86 -mtriple=i386-macosx -relocation-model=pic -verify-machineinstrs < %s | FileCheck %s -check-prefix=PIC
@sc64 = external global i64