[all-commits] [llvm/llvm-project] 80b627: AMDGPU/GlobalISel: Fix handling of G_ANYEXT with s...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Mon Mar 16 10:02:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 80b627d69d3457e9b5deac2ba10808f00c96edf6
https://github.com/llvm/llvm-project/commit/80b627d69d3457e9b5deac2ba10808f00c96edf6
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2020-03-16 (Mon, 16 Mar 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/mul.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-anyext.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sext.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zext.mir
Log Message:
-----------
AMDGPU/GlobalISel: Fix handling of G_ANYEXT with s1 source
We were letting G_ANYEXT with a vcc register bank through, which was
incorrect and would select to an invalid copy. Fix this up like G_ZEXT
and G_SEXT. Also drop old code to fixup the non-boolean case in
RegBankSelect. We now have to perform that expansion during selection,
so there's no benefit to doing it during RegBankSelect.
More information about the All-commits
mailing list