aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileCheck.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <quentin.colombet@gmail.com>2019-05-08 18:30:26 +0000
committerQuentin Colombet <quentin.colombet@gmail.com>2019-05-08 18:30:26 +0000
commit157427245a1993870870629dd36eb978add90570 (patch)
treed2e2b1cd0c23e60c32543998eef2be96b5bd6331 /llvm/lib/Support/FileCheck.cpp
parent9820d04dbcbaba1eeab72be2b436a95074e2a952 (diff)
downloadllvm-157427245a1993870870629dd36eb978add90570.zip
llvm-157427245a1993870870629dd36eb978add90570.tar.gz
llvm-157427245a1993870870629dd36eb978add90570.tar.bz2
[RegAllocFast] Scan physcial reg definitions before assigning virtual reg definitions
When assigning the definitions of an instruction we were updating the available registers while walking the definitions. Some of those definitions may be from physical registers and thus, they are not available for other definitions to take, but by the time we see that we may have already assign these registers to another virtual register. Fix that by walking through all the definitions and mark as unavailable the physical register definitions, then do the virtual register assignments. PR41790 llvm-svn: 360278
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions