[PATCH] D29294: LSR: Check more intrinsic pointer operands

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 16:16:48 PDT 2017


arsenm updated this revision to Diff 91955.
arsenm added a comment.

Implement getTgtMemIntrinsic and use it. I'm not sure this is correct because it should probably be reported as atomic, but IsSimple's only purpose seems to be to break an assert in EarlyCSE


https://reviews.llvm.org/D29294

Files:
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
  lib/Transforms/Scalar/LoopStrengthReduce.cpp
  test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll
  test/Transforms/LoopStrengthReduce/AMDGPU/atomics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29294.91955.patch
Type: text/x-patch
Size: 10441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170315/ced0e428/attachment.bin>


More information about the llvm-commits mailing list