[all-commits] [llvm/llvm-project] d41ecf: [X86] Use default attributes for intrinsics

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Oct 31 01:12:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d41ecfab92190f0cd805536a0c16da9ff5a5edb7
      https://github.com/llvm/llvm-project/commit/d41ecfab92190f0cd805536a0c16da9ff5a5edb7
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-31 (Mon, 31 Oct 2022)

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

  Log Message:
  -----------
  [X86] Use default attributes for intrinsics

This adds the default attributes (nocallback, nosync, nofree,
willreturn) to some X86 intrinsics. This will be needed to avoid
optimization regressions in the future (once we remove the
readonly -> willreturn implication for intrinsics).

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

Differential Revision: https://reviews.llvm.org/D136939




More information about the All-commits mailing list