aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-05-18 18:16:00 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2016-05-18 18:16:00 +0000
commit14a1c18448cb626889743e04e5ffd2613bf74f9a (patch)
tree935705af0ec38e7a5aef080358b33389c29f3b79 /llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp
parent08ce73470c2fb45b78e35c15423bb840cb114b46 (diff)
downloadllvm-14a1c18448cb626889743e04e5ffd2613bf74f9a.zip
llvm-14a1c18448cb626889743e04e5ffd2613bf74f9a.tar.gz
llvm-14a1c18448cb626889743e04e5ffd2613bf74f9a.tar.bz2
When looking for a spill slot in reg scavenger, find one that matches RC
When looking for an available spill slot, the register scavenger would stop after finding the first one with no register assigned to it. That slot may have size and alignment that do not meet the requirements of the register that is to be spilled. Instead, find an available slot that is the closest in size and alignment to one that is needed to spill a register from RC. Differential Revision: http://reviews.llvm.org/D20295 llvm-svn: 269969
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp')
0 files changed, 0 insertions, 0 deletions