diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 01:12:53 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-08-19 01:12:53 +0000 |
commit | dfd04582ae3c84e92700710b92d614dd0f51cce5 (patch) | |
tree | e49a0dffda7b7a4465fae5f421bda49eea173f9a /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
parent | 344ebf7c9a11cf2d4662c8d2924d7eed7db2eea6 (diff) | |
download | llvm-dfd04582ae3c84e92700710b92d614dd0f51cce5.zip llvm-dfd04582ae3c84e92700710b92d614dd0f51cce5.tar.gz llvm-dfd04582ae3c84e92700710b92d614dd0f51cce5.tar.bz2 |
IR: Reduce RAUW traffic in ConstantExpr
Avoid RAUW-ing `ConstantExpr` when an operand changes unless the new
`ConstantExpr` already has users. This prevents the RAUW from rippling
up the expression tree unnecessarily.
This commit indirectly adds test coverage for r215953 (this is how I
came across the bug).
This is part of PR20515.
llvm-svn: 215960
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions