[PATCH] D96673: [GlobalISel] Implement narrowScalar for SADDE/SSUBE/UADDE/USUBE
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 19 05:32:26 PST 2021
arsenm added inline comments.
================
Comment at: llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp:1052-1053
+ LegalizerHelper Helper(*MF, Info, Observer, B);
+ EXPECT_EQ(Helper.narrowScalar(*UADDE, 0, S32),
+ LegalizerHelper::LegalizeResult::Legalized);
+
----------------
These should be swapped to get the correct failure message
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96673/new/
https://reviews.llvm.org/D96673
More information about the llvm-commits
mailing list