aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-09-02 22:33:24 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-09-02 22:33:24 +0000
commit4136d23c4805c5403a3521bf03fbfeee75b9216b (patch)
treef039d51e96b5eb25e027fcc5b50a2ca511119a23 /test
parent5f25fb01b4061725124e34a942809e9c0c6f681c (diff)
downloadexternal_llvm-4136d23c4805c5403a3521bf03fbfeee75b9216b.zip
external_llvm-4136d23c4805c5403a3521bf03fbfeee75b9216b.tar.gz
external_llvm-4136d23c4805c5403a3521bf03fbfeee75b9216b.tar.bz2
Don't fast-isel for atomic load/store; some cases require extra handling missing from fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/atomic-load-store.ll1
-rw-r--r--test/CodeGen/X86/atomic-load-store.ll1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/atomic-load-store.ll b/test/CodeGen/ARM/atomic-load-store.ll
index 1625e53..81c8284 100644
--- a/test/CodeGen/ARM/atomic-load-store.ll
+++ b/test/CodeGen/ARM/atomic-load-store.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -mtriple=armv7-apple-ios | FileCheck %s -check-prefix=ARM
+; RUN: llc < %s -mtriple=armv7-apple-ios -O0 | FileCheck %s -check-prefix=ARM
; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s -check-prefix=THUMBTWO
; RUN: llc < %s -mtriple=thumbv6-apple-ios | FileCheck %s -check-prefix=THUMBONE
diff --git a/test/CodeGen/X86/atomic-load-store.ll b/test/CodeGen/X86/atomic-load-store.ll
index 7738ace..5430a50 100644
--- a/test/CodeGen/X86/atomic-load-store.ll
+++ b/test/CodeGen/X86/atomic-load-store.ll
@@ -1,4 +1,5 @@
; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-apple-macosx10.7.0 -O0 | FileCheck %s
define void @test1(i32* %ptr, i32 %val1) {
; CHECK: test1