llvm-6502/lib
Duncan P. N. Exon Smith e2215571e5 IR: Thread OnlyIfReduced through ConstantExpr::getWithOperands()
In order to change `ConstantExpr::replaceUsesOfWithOnConstant()` to work
like other constants (e.g., using `ConstantArray::getImpl()`), thread
`OnlyIfReduced` through as necessary.  When `OnlyIfReduced` is false,
there's no functionality change.  When it's true, if there's no constant
folding or type changes `nullptr` is returned instead of the new
constant.

`ConstantExpr::replaceUsesOfWithOnConstant()` will be updated to use the
"true" version in a follow-up commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216015 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-19 19:45:37 +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: Thread OnlyIfReduced through ConstantExpr::getWithOperands() 2014-08-19 19:45:37 +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