llvm-6502/lib
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
..
Analysis Infer known bits from dominating conditions 2015-03-10 22:43:20 +00:00
AsmParser Fix a stack overflow in the assembler when checking that GEPs must be over sized types. 2015-03-10 06:34:57 +00:00
Bitcode Simplify expressions involving boolean constants with clang-tidy 2015-03-09 01:57:13 +00:00
CodeGen Emit correct linkage-name attribute based on DWARF version. 2015-03-10 22:44:45 +00:00
DebugInfo
ExecutionEngine Temporarily revert r231726 and r231724 as they're breaking the build.: 2015-03-10 00:33:27 +00:00
Fuzzer
IR [X86, AVX] replace vinsertf128 intrinsics with generic shuffles 2015-03-10 16:08:36 +00:00
IRReader
LineEditor
Linker DataLayout is mandatory, update the API to reflect it with references. 2015-03-10 02:37:25 +00:00
LTO
MC Create symbols marking the start of a section earlier. 2015-03-10 22:00:25 +00:00
Object Add support for Nuxi CloudABI. 2015-03-09 18:40:45 +00:00
Option
Passes [PM] Fixup for r231556 where I missed a dependency on intrinsics 2015-03-07 09:08:20 +00:00
ProfileData InstrProf: Allow hexadecimal function hashes in proftext format 2015-03-09 18:54:49 +00:00
Support Teach raw_ostream to accept SmallString. 2015-03-10 07:33:23 +00:00
TableGen
Target Remove the use of the subtarget in MCCodeEmitter creation and 2015-03-10 22:03:14 +00:00
Transforms If a conditional branch jumps to the same target, remove the condition 2015-03-10 22:52:37 +00:00
CMakeLists.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
LLVMBuild.txt [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00
Makefile [PM] Create a separate library for high-level pass management code. 2015-03-07 09:02:36 +00:00