llvm-6502/test/Transforms/SimplifyCFG/HoistCode.ll
2006-12-02 04:23:10 +00:00

12 lines
214 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | 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
}