[PATCH] D152328: InstrProf - don't emit 64 bit atomic operations on 32 bit platforms

Sean Mollet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 7 06:15:17 PDT 2023


SeanMollet updated this revision to Diff 529270.
SeanMollet added a comment.
Herald added a subscriber: wenlei.

Updated counter_promo tests to include a target triple that supports the atomic profiler functionality they're testing.
Added an atomic-updates-disabled test with a target triple of a device that doesn't support atomic profiling.
atomic-updates.ll already specified an appropriate target triple that supports atomic profiling.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152328/new/

https://reviews.llvm.org/D152328

Files:
  llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
  llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
  llvm/test/Instrumentation/InstrProfiling/atomic-updates-disabled.ll
  llvm/test/Instrumentation/InstrProfiling/atomic-updates.ll
  llvm/test/Transforms/PGOProfile/counter_promo.ll
  llvm/test/Transforms/PGOProfile/counter_promo_exit_merge.ll
  llvm/test/Transforms/PGOProfile/counter_promo_mexits.ll
  llvm/test/Transforms/PGOProfile/counter_promo_nest-inseltpoison.ll
  llvm/test/Transforms/PGOProfile/counter_promo_nest.ll
  llvm/test/Transforms/PGOProfile/not_promote_ret_exit.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152328.529270.patch
Type: text/x-patch
Size: 7349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230607/00fbefdc/attachment.bin>


More information about the llvm-commits mailing list