[all-commits] [llvm/llvm-project] af6b99: [EarlyCSE][OpaquePtr] Check access type when perfo...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Feb 17 12:03:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af6b9939aac065ce19bdaaf9fc54a8368367f33f
      https://github.com/llvm/llvm-project/commit/af6b9939aac065ce19bdaaf9fc54a8368367f33f
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/EarlyCSE.cpp
    M llvm/test/Transforms/EarlyCSE/opaque-ptr.ll

  Log Message:
  -----------
  [EarlyCSE][OpaquePtr] Check access type when performing DSE

This will bail out on target specific intrinsics. If those are deemed
important enough for EarlyCSE to handle, we can augment MemIntrinsicInfo
with an access type for TargetTransformInfo::getTgtMemIntrinsic() to
handle.

Reviewed By: #opaque-pointers, nikic

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




More information about the All-commits mailing list