From a7be36c8eb4717e44b05e00008544b883fc87de9 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 28 Oct 2013 12:00:00 +0000 Subject: [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 --- test/CodeGen/SystemZ/bswap-02.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/CodeGen/SystemZ') 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) -- cgit v1.1