aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-03-30 11:24:01 -0700
committerCraig Topper <craig.topper@sifive.com>2022-03-30 11:32:43 -0700
commit85eae45520dd3ace28c7da34f77aaeec566ad97b (patch)
tree28b33d806070bb7021f349d60dafa002e13cbf45 /llvm/lib/Support/VirtualFileSystem.cpp
parent15c4239dff0f03ed155cf8fea1d21a7c0fe7eb4d (diff)
downloadllvm-85eae45520dd3ace28c7da34f77aaeec566ad97b.zip
llvm-85eae45520dd3ace28c7da34f77aaeec566ad97b.tar.gz
llvm-85eae45520dd3ace28c7da34f77aaeec566ad97b.tar.bz2
[SelectionDAG] Move extension type for ConstantSDNode from getCopyToRegs to HandlePHINodesInSuccessorBlocks.
D122053 set the ExtendType for ConstantSDNodes in getCopyToRegs to ZERO_EXTEND to match assumptions in ComputePHILiveOutRegInfo. PHIs are probably not the only way ConstantSDNodeNodes can get to getCopyToRegs. This patch adds an ExtendType parameter to CopyValueToVirtualRegister and has HandlePHINodesInSuccessorBlocks pass ISD::ZERO_EXTEND for ConstantInts. This way we only affect ConstantSDNodes for PHIs. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D122171
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions