[PATCH] D125308: [AArch64] Add missing HasNEON predicates to int->float patterns

Alexander Richardson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 10 05:10:20 PDT 2022


arichardson created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
arichardson added reviewers: SjoerdMeijer, dmgreen, t.p.northover.
arichardson published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

I was trying to compile code with -march=+nosimd and hit various
instruction predicate verification errors, this patch should address the
ones I saw in integer to floating-pointer conversions.

I noticed that for signed conversions, some non-NEON instruction sequences
are shorter. I don't know if the longer one is still faster on current
architectures (the patterns date back to the initial backend import)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125308

Files:
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/int-to-fp-no-neon.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125308.428345.patch
Type: text/x-patch
Size: 16617 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220510/a081e529/attachment-0001.bin>


More information about the llvm-commits mailing list