If a phi in a catchswitch block is turned into a bitcast, this will break the rule that the catchswitch must be the first (and the last) non-phi instruction. Suppress the transformation in this case.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Please update patch description to actually describe the patch, not repeat what it does.
Comment Actions
LG
llvm/test/Transforms/InstCombine/phi-catchswitch.ll | ||
---|---|---|
1 | Please use ./utils/update_test_checks.py |
Comment Actions
Thanks for the review comments! Could I please ask someone for help making the commit? I don't have write access.
Please use ./utils/update_test_checks.py