[PATCH] D147020: [AA] Add a tbaa-fence intrinsic.

David Goldblatt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 17:55:35 PDT 2023


davidtgoldblatt added a comment.

I'm also happy to just strengthen this to a pointer-specific fence (that returns void), that acts otherwise just like `asm volatile("" : : "r"(ptr) : "memory")` if that would make this more palatable. The only optimization I have in mind for the pointer-returning version is something to allow folding "store/fence/load" to a bitcast, which I don't think is important enough to be worth spending a lot of time on.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147020



More information about the llvm-commits mailing list