git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294682
91177308-0d34-0410-b5e6-
96231b3b80d8
-; 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"
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
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