mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 12:24:34 +00:00
New testcase for simplifycfg
llvm-svn: 18367
This commit is contained in:
parent
b237a19a78
commit
afdd71c622
11
test/Regression/Transforms/SimplifyCFG/HoistCode.ll
Normal file
11
test/Regression/Transforms/SimplifyCFG/HoistCode.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not grep br
|
||||
|
||||
void %foo(bool %C, int* %P) {
|
||||
br bool %C, label %T, label %F
|
||||
T:
|
||||
store int 7, int* %P
|
||||
ret void
|
||||
F:
|
||||
store int 7, int* %P
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user