aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2020-05-29 22:47:08 -0700
committerVedant Kumar <vsk@apple.com>2020-06-01 15:16:10 -0700
commit776708b00bddb01f91b8d44f6853770966d335a5 (patch)
treeb0da3e3fecf61927682f93f0222d880f7d66f670 /clang/lib/Frontend/CompilerInvocation.cpp
parenta8f720925599f8e44366438f1ccb4b4e9d9375ae (diff)
downloadllvm-776708b00bddb01f91b8d44f6853770966d335a5.zip
llvm-776708b00bddb01f91b8d44f6853770966d335a5.tar.gz
llvm-776708b00bddb01f91b8d44f6853770966d335a5.tar.bz2
[LiveDebugValues] Remove early-exit when testing regmasks, NFC
In transferRegisterDef, if the instruction has a regmask attached, we'll check if any currently used register is clobbered by the regmask. The early exit in this scan isn't necessary, costs a set lookup, and is almost never taken [1]. Delete it. [1] http://lab.llvm.org:8080/coverage/coverage-reports/coverage/Users/buildslave/jenkins/workspace/coverage/llvm-project/llvm/lib/CodeGen/LiveDebugValues.cpp.html#L1136
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions