llvm-6502/lib
Duncan P. N. Exon Smith b03916a88b IR: Fix ConstantExpr::replaceUsesOfWithOnConstant()
Change `ConstantExpr` to follow the model the other constants are using:
only malloc a replacement if it's going to be used.  This fixes a subtle
bug where if an API user had used `ConstantExpr::get()` already to
create the replacement but hadn't given it any users, we'd delete the
replacement.

This relies on r216015 to thread `OnlyIfReduced` through
`ConstantExpr::getWithOperands()`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216016 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-19 20:03:35 +00:00
..
Analysis Answer to Philip Reames comments 2014-08-18 22:18:14 +00:00
AsmParser Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
Bitcode
CodeGen Reapply [FastISel] Let the target decide first if it wants to materialize a constant (215588). 2014-08-19 19:05:24 +00:00
DebugInfo Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
ExecutionEngine Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
IR IR: Fix ConstantExpr::replaceUsesOfWithOnConstant() 2014-08-19 20:03:35 +00:00
IRReader Modernize the .ll parsing interface. 2014-08-19 16:58:54 +00:00
LineEditor
Linker
LTO Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
MC
Object Fix a pair of use after free. Should bring the bots back. 2014-08-19 18:59:14 +00:00
Option
ProfileData Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
Support Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
TableGen
Target Reapply [FastISel][AArch64] Add support for more addressing modes (r215597). 2014-08-19 19:44:17 +00:00
Transforms Revert "Small refactor on VectorizerHint for deduplication" 2014-08-19 18:08:50 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile