Displaying 1 result from an estimated 1 matches for "emitcallandswitchstat".
2008 Nov 17
1
[LLVMdev] Question about ExtractLoop
...itmp, label %bb2.exitStub, label %bb
}
--------------------------------------------------------------------------------------------------------------------------------
The problem is that the output variable (.out, in this case) is not store at
the .exitStub block.
I checked the implementation in emitCallAndSwitchStatement() (in
CodeExtractor.cpp) and found that the values will be stored only when bb
dominates bb2, when is not true in this example. I'm not sure why is the
check on dominance relationship needed (even though it's not completely
correct.) Could anyone please answer this question?
Thank you...