[all-commits] [llvm/llvm-project] 21cced: AMDGPU/GlobalISel: Tolerate negated control flow i...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Aug 26 06:01:42 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 21ccedc24fc49b43e84095b4773f8aa86c366dac
https://github.com/llvm/llvm-project/commit/21ccedc24fc49b43e84095b4773f8aa86c366dac
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-08-26 (Wed, 26 Aug 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.if-invalid.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-brcond.mir
Log Message:
-----------
AMDGPU/GlobalISel: Tolerate negated control flow intrinsic outputs
If the condition output is negated, swap the branch targets. This is
similar to what SelectionDAG does for when SelectionDAGBuilder
decides to invert the condition and swap the branches.
This is leaving behind a dead constant def for some reason.
More information about the All-commits
mailing list