search for: if_test

Displaying 1 result from an estimated 1 matches for "if_test".

Did you mean: df_test
2013 Mar 25
1
[LLVMdev] Debug metadata after simplifications
...ems to disappear. For example, when -simplifycfg removes a block because it only contains a branch, and -loop-simplify recreates that block because it turned out to be a back-edge of some loop, the metadata gets removed. Specifically, using the following testcase: while (while_test()) { if (if_test()) { foo(); } else { bar(); } } ... Clang emits* the following IR: *after slightly modifying the code generator so that it also emits metadata for unconditional branches while.cond: %call = call zeroext i1 (...)* @while_test(), !dbg !8 br i1 %call, label %while.body...