[all-commits] [llvm/llvm-project] 14d006: AMDGPU/GlobalISel: Run redundant_and combine in Re...
Petar Avramovic via All-commits
all-commits at lists.llvm.org
Wed Oct 16 00:43:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14d006c53c67ded7da00e7880c58f2c7e25ee1f1
https://github.com/llvm/llvm-project/commit/14d006c53c67ded7da00e7880c58f2c7e25ee1f1
Author: Petar Avramovic <Petar.Avramovic at amd.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUCombine.td
M llvm/test/CodeGen/AMDGPU/GlobalISel/artifact-combiner-asserts.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-redundant-and.mir
M llvm/test/CodeGen/AMDGPU/fptoi.i128.ll
M llvm/test/CodeGen/AMDGPU/itofp.i128.ll
Log Message:
-----------
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list