llvm-6502/lib/Transforms/InstCombine
Dan Gohman 138aa2a82b Define a maximum supported alignment value for load, store, and
alloca instructions (constrained by their internal encoding),
and add error checking for it. Fix an instcombine bug which
generated huge alignment values (null is infinitely aligned).
This fixes undefined behavior noticed by John Regehr.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109643 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-28 20:12:04 +00:00
..
CMakeLists.txt split and/or/xor out into one overly-large (2000LOC) file. However, I think 2010-01-05 07:50:36 +00:00
InstCombine.h use ArgOperand API, also tighten the type of visitFree to make this work out smoothly 2010-06-24 12:21:15 +00:00
InstCombineAddSub.cpp Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul, 2010-03-02 01:11:08 +00:00
InstCombineAndOrXor.cpp Another attempt at getting the clang self-host to like my instcombine patch. 2010-07-17 06:56:35 +00:00
InstCombineCalls.cpp Define a maximum supported alignment value for load, store, and 2010-07-28 20:12:04 +00:00
InstCombineCasts.cpp Tweak per Chris' comments. 2010-07-19 19:23:32 +00:00
InstCombineCompares.cpp Convert some tab stops into spaces. 2010-07-12 08:16:59 +00:00
InstCombineLoadStoreAlloca.cpp mass elimination of reliance on automatic iterator dereferencing 2010-07-22 13:36:47 +00:00
InstCombineMulDivRem.cpp Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul, 2010-03-02 01:11:08 +00:00
InstCombinePHI.cpp cache result of operator* 2010-07-12 14:15:58 +00:00
InstCombineSelect.cpp Remove the rest of my instcombine changes. Back to the drawing board on this one. 2010-07-16 16:39:00 +00:00
InstCombineShifts.cpp use ArgOperand API 2010-06-24 00:44:01 +00:00
InstCombineSimplifyDemanded.cpp use ArgOperand API 2010-06-28 16:45:00 +00:00
InstCombineVectorOps.cpp There are two ways of checking for a given type, for example isa<PointerType>(T) 2010-02-16 11:11:14 +00:00
InstCombineWorklist.h I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it 2010-05-11 20:16:09 +00:00
InstructionCombining.cpp Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). 2010-07-21 22:09:45 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00