This is an archive of the discontinued LLVM Phabricator instance.

Do not insert prefetches with unsupported memory operands.
ClosedPublic

Authored by mtrofin on Nov 27 2018, 4:35 PM.

Details

Summary

Ignore advices where the memory operand of the 'anchor' instruction
uses unsupported register types.

Diff Detail

Repository
rL LLVM

Event Timeline

mtrofin created this revision.Nov 27 2018, 4:35 PM
mtrofin updated this revision to Diff 175603.Nov 27 2018, 4:49 PM
  • More precise verification that the recommendation isn't inserted.
mtrofin updated this revision to Diff 175604.Nov 27 2018, 4:51 PM
  • Remove unnecessary space.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 27 2018, 5:11 PM
This revision was automatically updated to reflect the committed changes.
llvm/trunk/test/CodeGen/X86/insert-prefetch-no-MachineMemOperand.ll