llvm-6502/lib/Transforms
Philip Reames fb4ffccacb If a conditional branch jumps to the same target, remove the condition
Given that large parts of inst combine is restricted to instructions which have one use, getting rid of a use on the condition can help the effectiveness of the optimizer. Also, it allows the condition to potentially be deleted by instcombine rather than waiting for another pass.

I noticed this completely by accident in another test case. It's not anything that actually came from a real workload.

p.s. We should probably do the same thing for switch instructions.

Differential Revision: http://reviews.llvm.org/D8220



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231881 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-10 22:52:37 +00:00
..
Hello
InstCombine If a conditional branch jumps to the same target, remove the condition 2015-03-10 22:52:37 +00:00
Instrumentation DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
IPO Enable loop-rotate before loop-vectorize by default 2015-03-10 19:07:41 +00:00
ObjCARC DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
Scalar DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
Utils remove function names from comments; NFC 2015-03-10 19:42:57 +00:00
Vectorize [LAA-memchecks 2/3] Move number of memcheck threshold checking to LV 2015-03-10 18:54:23 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile