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
- Repository
- rG LLVM Github Monorepo
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 | ||
---|---|---|
2 | 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.
clang-tidy: warning: invalid case style for variable 'isCatchSwitch' [readability-identifier-naming]
not useful