llvm-6502/lib/Transforms/InstCombine
Pete Cooper 65a6b57c33 Added instcombine pattern to spot comparing -val or val against 0.
(val != 0) == (-val != 0) so "abs(val) != 0" becomes "val != 0"

Fixes <rdar://problem/10482509>


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145563 91177308-0d34-0410-b5e6-96231b3b80d8
2011-12-01 03:58:40 +00:00
..
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
InstCombine.h Inlining often produces landingpad instructions with repeated 2011-09-30 13:12:16 +00:00
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit. 2011-09-27 20:39:19 +00:00
InstCombineCalls.cpp Zap some completely ridiculous code. There's probably a miscompile here, but I don't really want to try to write a testcase involving an invoke returning a pointer to a varargs function... 2011-11-29 01:18:23 +00:00
InstCombineCasts.cpp Whitespace. 2011-11-30 01:59:59 +00:00
InstCombineCompares.cpp Added instcombine pattern to spot comparing -val or val against 0. 2011-12-01 03:58:40 +00:00
InstCombineLoadStoreAlloca.cpp Use the getFirstInsertionPt() method instead of getFirstNonPHI + an 'isa<>' 2011-08-16 20:45:24 +00:00
InstCombineMulDivRem.cpp InstCombine now optimizes vector udiv by power of 2 to shifts 2011-11-07 23:04:49 +00:00
InstCombinePHI.cpp Update instcombine for atomic load/store. 2011-08-15 22:09:40 +00:00
InstCombineSelect.cpp Add a new icmp+select optz'n. Also shows off the load(cst) folding added in 2011-10-02 10:37:37 +00:00
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp Stop emitting instructions with the name "tmp" they eat up memory and have to be uniqued, without any benefit. 2011-09-27 20:39:19 +00:00
InstCombineVectorOps.cpp Minor simplification: use ShuffleVectorInst::getMaskValue instead of a more expensive helper. 2011-10-21 19:11:34 +00:00
InstCombineWorklist.h
InstructionCombining.cpp Add support for sqrt, sqrtl, and sqrtf in TargetLibraryInfo. Disable 2011-11-29 23:57:10 +00:00
LLVMBuild.txt build: Add initial cut at LLVMBuild.txt files. 2011-11-03 18:53:17 +00:00
Makefile