summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/catch-undef-behavior2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove an incorrect optimization inside Clang's IRGen. Its check to determineNick Lewycky2013-11-081-0/+9
whether we can safely lower a conditional operator to select was insufficient. I've left a large comment in place to explaining the sort of problems that this transform can encounter in clang in the hopes of discouraging others from reimplementing it wrongly again in the future. (The test should also help with that, but it's easy to work around any single test I might add and think that your particular implementation doesn't miscompile any code.) llvm-svn: 194289
OpenPOWER on IntegriCloud