[all-commits] [llvm/llvm-project] 10ed1e: [MachineSink] Allow sinking of constant or ignorab...
vangthao95 via All-commits
all-commits at lists.llvm.org
Tue Jan 18 06:19:19 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10ed1eca241f893085b8db40138e588e72aaee3a
https://github.com/llvm/llvm-project/commit/10ed1eca241f893085b8db40138e588e72aaee3a
Author: Vang Thao <vang.thao at amd.com>
Date: 2022-01-18 (Tue, 18 Jan 2022)
Changed paths:
M llvm/include/llvm/CodeGen/TargetInstrInfo.h
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
M llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll
A llvm/test/CodeGen/AMDGPU/machine-sink-ignorable-exec-use.mir
M llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll
M llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
M llvm/test/CodeGen/AMDGPU/stack-pointer-offset-relative-frameindex.ll
Log Message:
-----------
[MachineSink] Allow sinking of constant or ignorable physreg uses
For AMDGPU, any use of the physical register EXEC prevents sinking even if it is not a real physical register read. Add check to see if a physical
register use can be ignored for sinking.
Also perform same constant and ignorable physical register check when considering sinking in loops.
https://reviews.llvm.org/D116053
More information about the All-commits
mailing list