llvm-6502/lib
Philip Reames 16e7e690b7 [JumpThreading] Simplify comparisons when simplifying branches
If we have recognized that a conditional is constant at a particular location in the code (while trying to decide if we can simplify a conditional branch), we can eagerly replace that condition with a constant if it's definition is post dominated by the branch in question.

In practice, this ends up being a compile time savings at most. JumpThreading would have visited each using branch anyways. CVP would have visited the cmp itself again. Unless LVI gives up early, we shouldn't gain any addition power by doing this transformation early. What we do gain is simplicity and compile time.

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



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236684 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-07 00:19:14 +00:00
..
Analysis Added support for building against Android API-9 SDK 2015-05-07 00:05:26 +00:00
AsmParser
Bitcode Bitcode: Set LastDL after writing DebugLocs 2015-05-06 22:51:12 +00:00
CodeGen Handle dead defs in the if converter. 2015-05-06 22:51:04 +00:00
DebugInfo A few fixes for llvm-symbolizer on Windows. 2015-05-06 22:26:30 +00:00
ExecutionEngine
Fuzzer [lib/Fuzzer] add dfsan_weak_hook_memcmp, enable the test that uses it, simplify the test runner 2015-05-07 00:11:33 +00:00
IR Revert "[opaque pointer type] Pass explicit pointer type through GEP constant folding" 2015-05-06 23:56:21 +00:00
IRReader
LineEditor
Linker
LTO
MC MC: Skip names of temporary symbols in object streamer 2015-05-06 21:34:34 +00:00
Object
Option
Passes
ProfileData InstrProf: Give coverage its own errors instead of piggy backing on instrprof 2015-05-06 23:19:35 +00:00
Support YAML: Extract the code that skips a comment into a separate method, NFC. 2015-05-06 23:00:45 +00:00
TableGen
Target [X86MCInst] Move LowerSTATEPOINT to inside X86AsmPrinter. NFC. 2015-05-06 23:53:26 +00:00
Transforms [JumpThreading] Simplify comparisons when simplifying branches 2015-05-07 00:19:14 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile