c56991755e6799f1f733d02f7a98d3159e94c185 |
|
09-Nov-2013 |
Nick Lewycky <nicholas@mxc.ca> |
Remove an incorrect optimization inside Clang's IRGen. Its check to determine 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.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194289 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/CodeGenCXX/catch-undef-behavior2.cpp
|