[PATCH] D99710: [AArch64] Use 64-bit movi for zeroing halfs/floats

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 1 06:12:56 PDT 2021


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

Thanks. This LGTM, so long as the Apple folks here are happy with changing the instruction issued.



================
Comment at: llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll:33
+; ZEROFP-DAG: movi d2, #0
+; ZEROFP-DAG: movi v3.2d, #0
+; ZERO16: movi d0, #0
----------------
We may want to do the same with neon movi's, as the instructions set all bits to 0 in either case.


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

https://reviews.llvm.org/D99710



More information about the llvm-commits mailing list