summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-11-08 23:00:12 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-11-08 23:00:12 +0000
commit22e55a059097772d0294769622751a943b249ca2 (patch)
tree17eaf33191c065460297a091b2f899821f09feb7 /llvm/lib/CodeGen/StackMaps.cpp
parente2ec6faa3621725066c9f9c3e9bd085c680d5167 (diff)
downloadbcm5719-llvm-22e55a059097772d0294769622751a943b249ca2.tar.gz
bcm5719-llvm-22e55a059097772d0294769622751a943b249ca2.zip
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.) llvm-svn: 194289
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud