[PATCH] D120452: [AArch64] Use simd mov to initialise big const float immediate

Allen zhong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 20:36:31 PST 2022


Allen created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Allen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

mov w8, #1325400064 + fmov s0, w8 ==> movi v0.2s, 0x4f, lsl 24


https://reviews.llvm.org/D120452

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/test/Transforms/LoopVectorize/AArch64/remat-const-float-simd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120452.410998.patch
Type: text/x-patch
Size: 4518 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/d3b3f88d/attachment.bin>


More information about the llvm-commits mailing list