[PATCH] D108260: [AArch64][GlobalISel] Mark G_FMINNUM/G_FMAXNUM as floating point opcodes

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 17 17:43:40 PDT 2021


paquette created this revision.
paquette added reviewers: aemerson, jroelofs.
Herald added subscribers: hiraditya, kristof.beyls, rovka.
paquette requested review of this revision.
Herald added a project: LLVM.

We need to ensure that these end up on FPR to allow imported patterns to select them.

This will also ensure that we get good regbank selection when dealing with instructions like G_PHI/G_LOAD/G_STORE which deduce their banks from their uses/users.


https://reviews.llvm.org/D108260

Files:
  llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/regbank-maxnum.mir
  llvm/test/CodeGen/AArch64/GlobalISel/regbank-minnum.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108260.367075.patch
Type: text/x-patch
Size: 4668 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/aa74d424/attachment-0001.bin>


More information about the llvm-commits mailing list