llvm-6502/lib/VMCore
Dan Gohman 0e488b3d1c Canonicalize ConstantInts to the right operand of commutative
operators.

The test difference is just due to the multiplication operands
being commuted (and thus requiring a more elaborate match). In
optimized code, that expression would be folded.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96816 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-22 22:43:23 +00:00
..
AsmWriter.cpp Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
Attributes.cpp
AutoUpgrade.cpp
BasicBlock.cpp
CMakeLists.txt
ConstantFold.cpp Canonicalize ConstantInts to the right operand of commutative 2010-02-22 22:43:23 +00:00
ConstantFold.h
Constants.cpp replaceUsesOfWithOnConstant implementation for unions. 2010-02-18 21:43:45 +00:00
ConstantsContext.h
Core.cpp Function attributes have index ~0, not 0 2010-02-16 19:28:02 +00:00
Dominators.cpp
Function.cpp Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
Globals.cpp
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp
Instructions.cpp
IntrinsicInst.cpp
IRBuilder.cpp
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp
LLVMContextImpl.h Destroy MDNodes gracefully while deleting llvm context. 2010-02-18 20:53:16 +00:00
Makefile
Metadata.cpp Destroy MDNodes gracefully while deleting llvm context. 2010-02-18 20:53:16 +00:00
Module.cpp
Pass.cpp
PassManager.cpp
PrintModulePass.cpp
SymbolTableListTraitsImpl.h
Type.cpp Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
TypesContext.h
TypeSymbolTable.cpp
Use.cpp
Value.cpp Introduce isOpaqueTy and use it rather than isa<OpaqueType>. Also, move some 2010-02-16 14:50:09 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp
Verifier.cpp