[all-commits] [llvm/llvm-project] 7736ce: AMDGPU: Clear kill flags when optimizing vcmp save...
Konstantin Zhuravlyov via All-commits
all-commits at lists.llvm.org
Fri Jun 24 08:30:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7736ce1c56c77290cb3ce72ece8e4025fb9e2b22
https://github.com/llvm/llvm-project/commit/7736ce1c56c77290cb3ce72ece8e4025fb9e2b22
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2022-06-24 (Fri, 24 Jun 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
A llvm/test/CodeGen/AMDGPU/vcmp-saveexec-to-vcmpx-wrong-kill-flags.mir
Log Message:
-----------
AMDGPU: Clear kill flags when optimizing vcmp save exec sequence
It was causing bad machine code for several blender scenes:
*** Bad machine code: Using an undefined physical register ***
- function: kernel_holdout_emission_blurring_pathtermination_ao
- basic block: %bb.28 if.end40.i (0x7f84861a2320)
- instruction: V_CMPX_EQ_U32_nosdst_e64 0, $vgpr3, implicit-def $exec, implicit $exec
- operand 1: $vgpr3
Differential Revision: https://reviews.llvm.org/D127768
More information about the All-commits
mailing list