mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
file checkize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119926 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3e41106de4
commit
b7dfb970e6
@ -1,10 +1,13 @@
|
|||||||
; RUN: opt < %s -basicaa -dse -S | not grep DEAD
|
; RUN: opt < %s -basicaa -dse -S | FileCheck %s
|
||||||
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
|
target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128"
|
||||||
|
|
||||||
define void @test(i32* %Q, i32* %P) {
|
define void @test1(i32* %Q, i32* %P) {
|
||||||
%DEAD = load i32* %Q ; <i32> [#uses=1]
|
%DEAD = load i32* %Q
|
||||||
store i32 %DEAD, i32* %P
|
store i32 %DEAD, i32* %P
|
||||||
store i32 0, i32* %P
|
store i32 0, i32* %P
|
||||||
ret void
|
ret void
|
||||||
|
; CHECK: @test1
|
||||||
|
; CHECK-NEXT: store i32 0, i32* %P
|
||||||
|
; CHECK-NEXT: ret void
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user