[PATCH] D68739: [GISel] Allow ConstantFoldBinOp to consider G_FCONSTANT binary representation for combines
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 15:43:40 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/Utils.cpp:323-325
+ (&FPVal->getValueAPF().getSemantics() == &APFloat::IEEEdouble() ||
+ &FPVal->getValueAPF().getSemantics() == &APFloat::IEEEsingle() ||
+ &FPVal->getValueAPF().getSemantics() == &APFloat::IEEEhalf())) {
----------------
Why do you need to whitelist these types?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68739/new/
https://reviews.llvm.org/D68739
More information about the llvm-commits
mailing list