]> granicus.if.org Git - llvm/commit
GlobalISel: Don't create G_UADDE with constant false carry in
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 Aug 2019 17:29:17 +0000 (17:29 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 Aug 2019 17:29:17 +0000 (17:29 +0000)
commit06bdf458f3ff9e13b4c71531d658f895a6792dc9
tree0ed2a56edd2a125db163f35dcbbd135a94381e01
parent3e85a683888ef55d611353c2349e489ab7864dd2
GlobalISel: Don't create G_UADDE with constant false carry in

The x86 tests are now broken (in paticular add-scalar.ll now hits the
DAG fallback) due to not handling G_UADDO. The DAG x86 backend has a
custom lowering for this, so that will need to be implemented.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369673 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
test/CodeGen/AArch64/GlobalISel/legalize-add.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
test/CodeGen/Mips/GlobalISel/legalizer/add.mir
test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
test/CodeGen/X86/GlobalISel/add-scalar.ll
test/CodeGen/X86/GlobalISel/legalize-add.mir