aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-04-18 12:00:04 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2022-04-19 21:07:47 -0400
commit209e7ef8740838479b79c5b8dfe4d0a820e1e2f0 (patch)
treef48e7bbfdf5471f469759deafee31a1024b1769b /llvm/lib/CodeGen/MachineModuleInfo.cpp
parente0d585d75a9ea4af42370d79c7af5aa52d3cfbc8 (diff)
downloadllvm-209e7ef8740838479b79c5b8dfe4d0a820e1e2f0.zip
llvm-209e7ef8740838479b79c5b8dfe4d0a820e1e2f0.tar.gz
llvm-209e7ef8740838479b79c5b8dfe4d0a820e1e2f0.tar.bz2
X86: Do not use ValueMap for PreallocatedIds
ValueMap should only be necessary if the IR values can be replaced. This is only used during codegen, when it's illegal to change the underlying IR. This allows using the default copy constructor for X86MachineFunctionInfo. I'm not happy about targets keeping state here that's only used in one specific pass, but we don't have a better place to put it right now.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions