[PATCH] D108222: [GlobalISel] Add G_ISNAN
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 17 17:06:34 PDT 2021
aemerson added a comment.
Add a docs entry?
================
Comment at: llvm/lib/CodeGen/MachineVerifier.cpp:959-960
+ }
+ // Not sure if pointers are valid; disallow them since it doesn't make too
+ // much sense to check if a pointer is NaN.
+ LLT SrcOrElt = SrcTy.isVector() ? SrcTy.getElementType() : SrcTy;
----------------
Yes, pointers shouldn't be valid.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108222/new/
https://reviews.llvm.org/D108222
More information about the llvm-commits
mailing list