summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorKeno Fischer <keno@alumni.harvard.edu>2017-04-04 20:30:47 +0000
committerKeno Fischer <keno@alumni.harvard.edu>2017-04-04 20:30:47 +0000
commit282c62495fbe039ea07a603009e23e1f109a3f00 (patch)
tree1143d437aaca7bc612ae3ae7663fff28ea643160 /clang/lib/CodeGen/CGExprScalar.cpp
parent86173600ec790a8449f1bc9e283f77daa2a3c96b (diff)
downloadbcm5719-llvm-282c62495fbe039ea07a603009e23e1f109a3f00.tar.gz
bcm5719-llvm-282c62495fbe039ea07a603009e23e1f109a3f00.zip
[ExecutionDepsFix] Don't revisit true dependencies
If an instruction has a true dependency, it makes sense for to use that register for any undef read operands in the same instruction (we'll have to wait for that register to become available anyway). This logic was already implemented. However, the code would then still try to revisit that instruction and break the dependency (and always fail, since by definition a true dependency has to be live before the instruction). Avoid revisiting such instructions as a performance optimization. No functional change. Differential Revision: https://reviews.llvm.org/D30173 llvm-svn: 299467
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud