diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-03-27 15:23:41 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-03-27 15:23:41 +0000 |
commit | 9ecb4011cabed347b4d96431a42dc6ea0641f50b (patch) | |
tree | 3132c2df421447818c04b2c641129675cbd25565 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | ea7a27b847b8eca39e427b430381e6b2cbf349f3 (diff) | |
download | llvm-9ecb4011cabed347b4d96431a42dc6ea0641f50b.zip llvm-9ecb4011cabed347b4d96431a42dc6ea0641f50b.tar.gz llvm-9ecb4011cabed347b4d96431a42dc6ea0641f50b.tar.bz2 |
[llvm-mca] pass the correct set of used registers in checkRAT.
We were incorrectly initializing the array of used registers in method checkRAT.
As a consequence, the number of register file stalls was misreported.
Added a test to cover this case.
llvm-svn: 328629
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions