[PATCH] D132559: [AArch64] Add support for 128-bit non temporal loads.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 03:25:44 PDT 2022


zjaffal updated this revision to Diff 457553.
zjaffal added a comment.

Fix patch for failing tests. The problem originated from 128-bit loads being handled incorrectly if they weren't nontemporal loads. I added two checks to address the issue
First, if the load is of floating point type we preserve the behaviour provided from

  setOperationPromotedToType(ISD::LOAD, VT, PromoteTo);

Otherwise we return an empty `SDNode()` object.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132559/new/

https://reviews.llvm.org/D132559

Files:
  llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
  llvm/lib/Target/AArch64/AArch64ISelLowering.h
  llvm/lib/Target/AArch64/AArch64InstrInfo.td
  llvm/test/CodeGen/AArch64/nontemporal-load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132559.457553.patch
Type: text/x-patch
Size: 13290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220902/71e1515d/attachment.bin>


More information about the llvm-commits mailing list