[all-commits] [llvm/llvm-project] be2afb: [AMDGPU] Remove fix up operand from SI_ELSE
Carl Ritson via All-commits
all-commits at lists.llvm.org
Tue Oct 20 03:16:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: be2afbd019de37f1da1af9d6224972deac6f3792
https://github.com/llvm/llvm-project/commit/be2afbd019de37f1da1af9d6224972deac6f3792
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2020-10-20 (Tue, 20 Oct 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
M llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
M llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
M llvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll
M llvm/test/CodeGen/AMDGPU/lower-control-flow-other-terminators.mir
Log Message:
-----------
[AMDGPU] Remove fix up operand from SI_ELSE
Remove immediate operand from SI_ELSE which indicates if EXEC has
been modified. Instead always emit code that handles EXEC and
remove unnecessary instructions during pre-RA optimisation.
This facilitates passes (i.e. SIWholeQuadMode) adding exec mask
manipulation post control flow lowering, and pre control flow
lower passes do not need to be aware of SI_ELSE handling.
Reviewed By: nhaehnle
Differential Revision: https://reviews.llvm.org/D89644
More information about the All-commits
mailing list