[PATCH] D57044: [AArch64] OOptimize floating point materialization

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 31 13:35:20 PST 2019


evandro added inline comments.


================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:5442
+  // The immediate value will be created with either MOVZ or MOVN.
+  if (!IsLegal && (VT == MVT::f64 || VT == MVT::f32))
+    IsLegal = AArch64_AM::isAnyMOVWMovAlias(ImmInt.getZExtValue(),
----------------
Since `fmov h0, w0` is legal, shouldn't `MVT::f16` be added here too?


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

https://reviews.llvm.org/D57044





More information about the llvm-commits mailing list