[PATCH] D55686: [PowerPC] Fix assert from machine verify pass that unmatched register class about fcmp selection in fast-isel
Zixuan Wu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 8 22:11:29 PST 2019
wuzish reopened this revision.
wuzish marked an inline comment as done.
wuzish added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/trunk/lib/Target/PowerPC/PPCFastISel.cpp:895
+ } else if (isVSSRCRegClass(RC)) {
+ llvm_unreachable("Unsupposed f32 VSX comparison");
+ } else {
----------------
Well, it can not be assert. Just return false to let DAG selection handle it.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55686/new/
https://reviews.llvm.org/D55686
More information about the llvm-commits
mailing list