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
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp
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
InstCombineMulDivRem.cpp InstCombine now optimizes vector udiv by power of 2 to shifts 2011-11-07 23:04:49 +00:00
InstCombinePHI.cpp
InstCombineSelect.cpp
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
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