llvm-6502/test/Transforms/SimplifyCFG/HoistCode.ll

12 lines
199 B
LLVM
Raw Normal View History

; 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
}