[PATCH] D106891: [Remarks] Emit optimization remarks for atomics generating CAS loop
Anshil Gandhi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 14 14:33:06 PDT 2021
gandhi21299 updated this revision to Diff 366455.
gandhi21299 added a comment.
- changed type of ORE from OptimizationRemarkEmitter* to std::shared_ptr<OptimizationRemarkEmitter> and construct it within AtomicExpandPass, this solution is implemented to address for the regressions in many backends due to prerequisite passes
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106891/new/
https://reviews.llvm.org/D106891
Files:
clang/test/CodeGenCUDA/atomics-remarks-gfx90a.cu
clang/test/CodeGenOpenCL/atomics-remarks-gfx90a.cl
llvm/lib/CodeGen/AtomicExpandPass.cpp
llvm/test/CodeGen/AMDGPU/atomics-remarks-gfx90a.ll
llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
llvm/test/CodeGen/X86/O0-pipeline.ll
llvm/test/CodeGen/X86/opt-pipeline.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106891.366455.patch
Type: text/x-patch
Size: 16470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210814/f1bd2c96/attachment-0001.bin>
More information about the cfe-commits
mailing list