[PATCH] Refactor commoning of target specific load/store intrinsics in EarlyCSE

Sanjin Sijaric ssijaric at codeaurora.org
Fri Mar 13 02:46:12 PDT 2015


Hi hfinkel, pete, reames,

Introduce LoadSite and StoreSite to enable us to deal with target specific load/store intrinsics with characteristics similar to those of regular load and store instructions.  Remove ParseMemoryInst from EarlyCSE, and replace it with LoadSite and StoreSite.  The patch also fixes the bug that Hal pointed out where the check for a matching load intrinsic wasn't being done when commoning loads.

http://reviews.llvm.org/D8313

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/IR/LoadStoreSite.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.h
  lib/Transforms/Scalar/EarlyCSE.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8313.21905.patch
Type: text/x-patch
Size: 31048 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150313/d3171599/attachment.bin>


More information about the llvm-commits mailing list