summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/intptr8.ll
Commit message (Collapse)AuthorAgeFilesLines
* [WinEH] Fix inttoptr+phi optimization in presence of catchswitchReid Kleckner2020-03-021-0/+77
getFirstInsertionPt's return value must be checked for validity before casting it to Instruction*. Don't attempt to insert casts after a phi in a catchswitch block. Fixes PR45033, introduced in D37832. Reviewed By: davidxl, hfinkel Differential Revision: https://reviews.llvm.org/D75381 (cherry picked from commit 1adbe86d87bd4ecffc73ab17c7da56f44816f424)
OpenPOWER on IntegriCloud