[llvm] [GISel] Lower scalar G_SELECT in LegalizerHelper (PR #79342)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 23:53:48 PST 2024


================
@@ -3431,6 +3431,45 @@ TEST_F(AArch64GISelMITest, LowerUDIVREM) {
   EXPECT_TRUE(CheckMachineFunction(*MF, CheckStr)) << *MF;
 }
 
+// Test G_SELECT lowering.
----------------
davemgreen wrote:

It might be good to add a comment to say we don't expect to legalize scalar selects on aarch64 like this, but it is useful for testing.

https://github.com/llvm/llvm-project/pull/79342


More information about the llvm-commits mailing list