[AArch64][GlobalISel] Legalize G_INTRINSIC_ROUND
authorJessica Paquette <jpaquette@apple.com>
Tue, 23 Apr 2019 21:11:57 +0000 (21:11 +0000)
committerJessica Paquette <jpaquette@apple.com>
Tue, 23 Apr 2019 21:11:57 +0000 (21:11 +0000)
commit3cc6d1f542b5643a4284d2e43fd656b714c35abd
treeffec80d2eae351e10de1abf0ecb6a83f57c7668b
parent4fd1f266b1e984e06da164beb7513589a87e983a
[AArch64][GlobalISel] Legalize G_INTRINSIC_ROUND

Add it to the same rule as G_FCEIL etc. Add a legalizer test, and add a missing
switch case to AArch64LegalizerInfo.cpp.

llvm-svn: 359033
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/legalize-intrinsic-round.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir