forked from OSchip/llvm-project
[LoadCombine] Change test to not use instcombine.
llvm-svn: 294682
This commit is contained in:
parent
cdbfd0edb5
commit
788b10ecbc
|
@ -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 readonly noalias %a, i32* nocapture readonly no
|
|||
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 readonly %a, i32* nocapture readonly %b) {
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue