[PATCH] D129396: [InstCombine] Add support for div, ldiv, lldiv, and imaxdiv folding
Dávid Bolvanský via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 18 14:02:38 PDT 2022
xbolva00 added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp:2668
+ // Store the result in consecutive members of the returned struct,
+ // assuming they are laid out in the usual order: { T quot, rem; }.
+ RetTy = Callee->getParamStructRetType(0);
----------------
Strong assumption? Is this order defined by C standard?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129396/new/
https://reviews.llvm.org/D129396
More information about the llvm-commits
mailing list