[PATCH] D136157: [X86][2/2] Support PREFETCHI instructions

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 07:26:44 PDT 2022


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM - cheers



================
Comment at: llvm/lib/Target/X86/X86ISelLowering.cpp:36986
+  case X86::PREFETCHIT1:
+    if (MI.getOperand(0).getReg() != X86::RIP)
+      MI.setDesc(TII->get(MI.getOpcode() == X86::PREFETCHIT0
----------------
A comment might be nice :) 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136157



More information about the llvm-commits mailing list