aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-28 12:00:00 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-28 12:00:00 +0000
commita7be36c8eb4717e44b05e00008544b883fc87de9 (patch)
treed6e0da0233f60d66565fec075a631691b0548e93 /test/CodeGen/SystemZ
parent66589dcc8fb5dcf0894a9a80a8dee890a4f3a379 (diff)
downloadexternal_llvm-a7be36c8eb4717e44b05e00008544b883fc87de9.zip
external_llvm-a7be36c8eb4717e44b05e00008544b883fc87de9.tar.gz
external_llvm-a7be36c8eb4717e44b05e00008544b883fc87de9.tar.bz2
[DAGCombiner] Respect volatility when checking for aliases
Making useAA() default to true for SystemZ showed that the combiner alias analysis wasn't handling volatile accesses. This hit many of the SystemZ tests, but I arbitrarily picked one for the purpose of this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ')
-rw-r--r--test/CodeGen/SystemZ/bswap-02.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/SystemZ/bswap-02.ll b/test/CodeGen/SystemZ/bswap-02.ll
index db69ea5..4bb49eb 100644
--- a/test/CodeGen/SystemZ/bswap-02.ll
+++ b/test/CodeGen/SystemZ/bswap-02.ll
@@ -1,6 +1,7 @@
; Test 32-bit byteswaps from memory to registers.
;
-; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
+; RUN: llc < %s -mtriple=s390x-linux-gnu -combiner-alias-analysis \
+; RUN: -combiner-global-alias-analysis | FileCheck %s
declare i32 @llvm.bswap.i32(i32 %a)