[llvm] r294682 - [LoadCombine] Change test to not use instcombine.
Michael J. Spencer via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 16:44:08 PST 2017
Author: mspencer
Date: Thu Feb 9 18:44:08 2017
New Revision: 294682
URL: http://llvm.org/viewvc/llvm-project?rev=294682&view=rev
Log:
[LoadCombine] Change test to not use instcombine.
Modified:
llvm/trunk/test/Transforms/LoadCombine/load-combine-aa.ll
Modified: llvm/trunk/test/Transforms/LoadCombine/load-combine-aa.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/LoadCombine/load-combine-aa.ll?rev=294682&r1=294681&r2=294682&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/LoadCombine/load-combine-aa.ll (original)
+++ llvm/trunk/test/Transforms/LoadCombine/load-combine-aa.ll Thu Feb 9 18:44:08 2017
@@ -1,4 +1,4 @@
-; RUN: opt -basicaa -load-combine -instcombine -S < %s | FileCheck %s
+; RUN: opt -basicaa -load-combine -S < %s | FileCheck %s
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@@ -22,6 +22,7 @@ define i64 @test1(i32* nocapture readonl
define i64 @test2(i32* nocapture readonly %a, i32* nocapture readonly %b) {
; CHECK-LABEL: @test2
+; CHECK-NOT: load i64
; CHECK: load i32, i32*
; CHECK: load i32, i32*
; CHECK: ret i64
@@ -44,8 +45,10 @@ define i64 @test2(i32* nocapture readonl
define i16 @test3() {
; CHECK-LABEL: @test3
+; CHECK-NOT: load i32
; CHECK: load i16, i16*
; CHECK: store i16
+; CHECK: load i16, i16*
; CHECK: ret i16
%_tmp9 = getelementptr %rec11, %rec11* @str, i16 0, i32 1
More information about the llvm-commits
mailing list