[PATCH] D140988: [SystemZ] Implement lowering of GET_ROUNDING
Tulio Magno Quites Machado Filho via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 12:38:58 PST 2023
tuliom marked an inline comment as done.
tuliom added inline comments.
================
Comment at: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp:9083
+ DAG.getNode((VT.getSizeInBits() < 32 ? ISD::TRUNCATE : ISD::ZERO_EXTEND),
+ dl, VT, RetVal);
+
----------------
nikic wrote:
> nit: There is a `DAG.getZExtOrTrunc()` helper.
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140988/new/
https://reviews.llvm.org/D140988
More information about the llvm-commits
mailing list