Make changes to rev 84292 as requested by Chris Lattner.
Most changes are cleanup, but there is 1 correctness fix: I fixed InstCombine so that the icmp is removed only if the malloc call is removed (which requires explicit removal because the Worklist won't DCE any calls since they can have side-effects). llvm-svn: 84772
Showing
- llvm/lib/AsmParser/LLParser.cpp 18 additions, 23 deletionsllvm/lib/AsmParser/LLParser.cpp
- llvm/lib/Bitcode/Reader/BitcodeReader.cpp 4 additions, 7 deletionsllvm/lib/Bitcode/Reader/BitcodeReader.cpp
- llvm/lib/Transforms/Scalar/InstructionCombining.cpp 20 additions, 2 deletionsllvm/lib/Transforms/Scalar/InstructionCombining.cpp
- llvm/lib/Transforms/Scalar/Reassociate.cpp 0 additions, 2 deletionsllvm/lib/Transforms/Scalar/Reassociate.cpp
- llvm/test/Transforms/InstCombine/malloc2.ll 5 additions, 1 deletionllvm/test/Transforms/InstCombine/malloc2.ll
Loading
Please register or sign in to comment