[all-commits] [llvm/llvm-project] 16f9c5: [SimplifyLibCalls] Retain attributes added by Buil...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Tue Oct 4 06:12:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16f9c5577d2f498ba459de1862f8474882ea0690
      https://github.com/llvm/llvm-project/commit/16f9c5577d2f498ba459de1862f8474882ea0690
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll

  Log Message:
  -----------
  [SimplifyLibCalls] Retain attributes added by Builder.CreateMem*

This currently does not make much of a difference (only one tests is
affected), but it is helpful e.g. for the out-of-tree CHERI target where
Builder.CreateMemCpy() can add attributes other than parameter alignment.

Reviewed By: nikic

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




More information about the All-commits mailing list