[PATCH] D136939: [X86] Use default attributes for intrinsics

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 03:37:06 PDT 2022


nikic created this revision.
nikic added reviewers: RKSimon, pengfei.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This adds the default attributes (nocallback, nosync, nofree, willreturn) to some X86 intrinsics. This will be needed to avoid optimization regressions in the future.

Due to the number of intrinsics, this patch focuses just on the IntrNoMem intrinsics up to the AVX2 section.


https://reviews.llvm.org/D136939

Files:
  llvm/include/llvm/IR/IntrinsicsX86.td
  llvm/test/Bitcode/ptest-new.ll
  llvm/test/Bitcode/ptest-old.ll
  llvm/test/Transforms/RewriteStatepointsForGC/X86/intrinsic-attributes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136939.471480.patch
Type: text/x-patch
Size: 96440 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221028/000e9271/attachment.bin>


More information about the llvm-commits mailing list