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

12 lines
214 B
LLVM
Raw Normal View History

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