[PATCH] D46202: [X86] Make the STTNI flag intrinsics use the flags from pcmpestrm/pcmpistrm if the mask instrinsics are also used in the same basic block.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 27 15:15:06 PDT 2018


craig.topper updated this revision to Diff 144407.
craig.topper added a comment.

Don't fold non-temporal loads. Add test case to make sure we don't fold load when emitting mask and index at the same time. Move operand extraction into the helper methods so we don't have to pass so many parameters.


Repository:
  rL LLVM

https://reviews.llvm.org/D46202

Files:
  lib/Target/X86/X86ISelDAGToDAG.cpp
  lib/Target/X86/X86ISelLowering.cpp
  lib/Target/X86/X86ISelLowering.h
  lib/Target/X86/X86InstrFragmentsSIMD.td
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/sse42.ll
  test/CodeGen/X86/sttni.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46202.144407.patch
Type: text/x-patch
Size: 41277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180427/87efa97b/attachment.bin>


More information about the llvm-commits mailing list