[PATCH] D57044: [AArch64] OOptimize floating point materialization
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 23 12:51:23 PST 2019
efriedma added inline comments.
================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:5446
+ // If we can not materialize in immediate field for fmov, check if the
+ // value can be encoded as the immediate operanf of a logical instruction.
+ if (!IsLegal && IsVTLegal)
----------------
"operanf"
================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:5451
+ AArch64_AM::isLogicalImmediate(ImmInt.getZExtValue(),
+ VT.getSizeInBits());
----------------
I have no idea what isLogicalImmediate does if the RegSize is 16.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57044/new/
https://reviews.llvm.org/D57044
More information about the llvm-commits
mailing list