aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-03 03:45:32 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-03 03:45:32 +0000
commit50f8969e52f29f85a5dec407daf4e236dd6ce0a8 (patch)
tree3638ec968604603d8416be82bdcada7a2503cb60 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parente08bcbff8f18f2016bd66f0321f51b3e7e279fc6 (diff)
downloadllvm-50f8969e52f29f85a5dec407daf4e236dd6ce0a8.zip
llvm-50f8969e52f29f85a5dec407daf4e236dd6ce0a8.tar.gz
llvm-50f8969e52f29f85a5dec407daf4e236dd6ce0a8.tar.bz2
ValueMapper: Only check for cycles if operands change
This is a minor optimization to only check for unresolved operands inside `mapDistinctNode()` if the operands have actually changed. This shouldn't really cause any change in behaviour. I didn't actually see a slowdown in a profile, I was just poking around nearby and saw the opportunity. llvm-svn: 243866
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions