diff options
author | Petar Avramovic <Petar.Avramovic@amd.com> | 2024-10-16 09:43:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 09:43:16 +0200 |
commit | 14d006c53c67ded7da00e7880c58f2c7e25ee1f1 (patch) | |
tree | a471405f323cf1d46a013ae21f00bf0a8f440c3a /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | e1d205a3855898b413978ee457f37e361ae981bd (diff) | |
download | llvm-14d006c53c67ded7da00e7880c58f2c7e25ee1f1.zip llvm-14d006c53c67ded7da00e7880c58f2c7e25ee1f1.tar.gz llvm-14d006c53c67ded7da00e7880c58f2c7e25ee1f1.tar.bz2 |
AMDGPU/GlobalISel: Run redundant_and combine in RegBankCombiner (#112353)
Combine is needed to clear redundant ANDs with 1 that will be
created by reg-bank-select to clean-up high bits in register.
Fix replaceRegWith from CombinerHelper:
If copy had to be inserted, first create copy then delete MI.
If MI is deleted first insert point is not valid.
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions