| Issue |
91703
|
| Summary |
Does it make sense to have __builtin_assoc_barrier as an alias to __arithmetic_fence for compatibility with GCC
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
pinskia
|
GCC 12 added __builtin_assoc_barrier (https://gcc.gnu.org/onlinedocs/gcc-12.1.0/gcc/Other-Builtins.html#index-_005f_005fbuiltin_005fassoc_005fbarrier). It might be useful to have __builtin_assoc_barrier as being an alias to __arithmetic_fence for GCC compatibility. Both were added around the same time (July 2021) even.
Note GCC's __builtin_assoc_barrier does prevent contracting unlike LLVM's __arithmetic_fence currently (but that is filed as https://github.com/llvm/llvm-project/issues/91674 ). That is how I saw the name differences here.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs