]> granicus.if.org Git - llvm/commit
[GlobalISel][AArch64] Always fall back on aarch64.neon.addp.*
authorJessica Paquette <jpaquette@apple.com>
Mon, 11 Mar 2019 20:51:17 +0000 (20:51 +0000)
committerJessica Paquette <jpaquette@apple.com>
Mon, 11 Mar 2019 20:51:17 +0000 (20:51 +0000)
commitcb9067728a598b76e123839c850ee5be3aec4fbb
tree7a4fef5100a5221ae77c055766ca8950b8291e9c
parentf3044fe69631433b02807a5248820dccb662ffa6
[GlobalISel][AArch64] Always fall back on aarch64.neon.addp.*

Overloaded intrinsics aren't necessarily safe for instruction selection. One
such intrinsic is aarch64.neon.addp.*.

This is a temporary workaround to ensure that we always fall back on that
intrinsic. Eventually this will be replaced with a proper solution.

https://bugs.llvm.org/show_bug.cgi?id=40968

Differential Revision: https://reviews.llvm.org/D59062

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355865 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
lib/Target/AArch64/AArch64LegalizerInfo.h
test/CodeGen/AArch64/GlobalISel/fallback-ambiguous-addp-intrinsic.mir [new file with mode: 0644]
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir