[PATCH] D142583: [SPIR] Add support for __arithmetic_fence builtin for SPIR target.

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 26 08:21:30 PST 2023


bader added inline comments.


================
Comment at: clang/test/CodeGen/arithmetic-fence-builtin.c:73
 int subit(float a, float b, float *fp) {
-  // CHECKFAST: define {{.*}}@subit(float noundef %a, float noundef %b{{.*}}
+  // CHECKPRECISE: define {{.*}}@subit(float noundef %a, float noundef %b{{.*}}
   *fp = __arithmetic_fence(a - b);
----------------
Why is this check removed for SPIR target?


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

https://reviews.llvm.org/D142583



More information about the cfe-commits mailing list