aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2016-07-08 21:08:09 +0000
committerWei Mi <wmi@google.com>2016-07-08 21:08:09 +0000
commitc022370767531ba6690db162e4d548d6d7d3cd24 (patch)
treea1b7de6eb234b67bfa3a7033f971c149507d5740 /clang/lib/CodeGen/CodeGenModule.cpp
parent7853c1dd7346db5818dd3822cd6220ea460420ca (diff)
downloadllvm-c022370767531ba6690db162e4d548d6d7d3cd24.zip
llvm-c022370767531ba6690db162e4d548d6d7d3cd24.tar.gz
llvm-c022370767531ba6690db162e4d548d6d7d3cd24.tar.bz2
Allow dead insts to be kept in DeadRemat only when they are rematerializable.
Because isReallyTriviallyReMaterializableGeneric puts many limits on rematerializable instructions, this fix can prevent instructions with tied virtual operands and instructions with virtual register uses from being kept in DeadRemat, so as to workaround the live interval consistency problem for the dummy instructions kept in DeadRemat. But we still need to fix the live interval consistency problem. This patch is just a short time relieve. PR28464 has been filed as a reminder. Differential Revision: http://reviews.llvm.org/D19486 llvm-svn: 274928
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions