[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)
commit42d16501e68a3c5465c842434aafbb8658979697
tree985d980b72bf3598e783c6f041a497b0ca5d9199
parent2c6c84e52c452e3d4a94ecf0e85c1cb526603580
[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

llvm-svn: 355865
llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.h
llvm/test/CodeGen/AArch64/GlobalISel/fallback-ambiguous-addp-intrinsic.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir