diff options
| author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-09-28 09:42:06 +0000 |
|---|---|---|
| committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-09-28 09:42:06 +0000 |
| commit | 417ef40c3954f0a6fa13028e44962a69ee92513a (patch) | |
| tree | d32696505b9893885cd90471f0a828ebd7a4ef04 /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | f6439880a8337807b8ad80909c25219dbfa194bf (diff) | |
| download | llvm-417ef40c3954f0a6fa13028e44962a69ee92513a.zip llvm-417ef40c3954f0a6fa13028e44962a69ee92513a.tar.gz llvm-417ef40c3954f0a6fa13028e44962a69ee92513a.tar.bz2 | |
[llvm-mca] Teach how to track zero registers in class RegisterFile.
This change is in preparation for a future work on improving support for
optimizable register moves. We already know if a write is from a zero-idiom, so
we can propagate that bit of information to the PRF. We use an APInt mask to
identify registers that are set to zero.
llvm-svn: 343307
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
