summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-04-29 22:23:16 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-04-29 22:23:16 +0000
commit107aefc2fc7c93d76c0c0eb35b1b36ff9fb92333 (patch)
tree3999dac796935052415babd52b8cdd3a5fce2c81 /clang/lib/Frontend/CompilerInvocation.cpp
parentaa8dfe9fb311682e52aded7146c6ef16ae6d645e (diff)
downloadbcm5719-llvm-107aefc2fc7c93d76c0c0eb35b1b36ff9fb92333.tar.gz
bcm5719-llvm-107aefc2fc7c93d76c0c0eb35b1b36ff9fb92333.zip
Mark guards on true as "trivially dead"
This moves some logic added to EarlyCSE in rL268120 into `llvm::isInstructionTriviallyDead`. Adds a test case for DCE to demonstrate that passes other than EarlyCSE can now pick up on the new information. llvm-svn: 268126
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud