john.brawn accepted this revision.
john.brawn added a comment.
This revision is now accepted and ready to land.

LGTM, with a couple of nitpicks.

> The existing unsigned argument can cause faulty code as float to unsigned 
> conversion is undefined,
>  which llvm/clang optimizes away.

It's specifically negative float to unsigned that's undefined.



================
Comment at: test/CodeGen/aarch64-neon-vsqadd-float-conversion.c:2
+// RUN: %clang_cc1 -triple arm64-none-linux-gnu -target-feature +neon \
+// RUN:     -fallow-half-arguments-and-returns -S -disable-O0-optnone 
-emit-llvm -o - %s \
+// RUN: | opt -S -mem2reg -dce \
----------------
I don't think -fallow-half-arguments-and-returns is necessary.


Repository:
  rC Clang

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

https://reviews.llvm.org/D64239



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to