From c79dfb3b316d45536b9b1a8377fcdbc17fee50ab Mon Sep 17 00:00:00 2001 From: Diana Picus Date: Tue, 21 Nov 2017 10:17:02 +0000 Subject: [PATCH] [ARM GlobalISel] Add comment for r318398. NFC. Mention the purpose of the BICri tests added by r318398, as requested in post-commit review. llvm-svn: 318747 --- llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir b/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir index 8932e22..d8da961 100644 --- a/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir +++ b/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir @@ -461,6 +461,11 @@ body: | %0(s32) = COPY %r0 ; CHECK: [[VREGX:%[0-9]+]]:gpr = COPY %r0 + ; This test and the following ones are a bit contrived, since they use a + ; G_XOR that can be constant-folded. They exist mostly to validate the + ; TableGen pattern that defines BICri. We also have a pattern for matching a + ; G_AND with a G_CONSTANT operand directly, which is the more common case, + ; but that will be covered by different tests. %1(s32) = G_CONSTANT i32 192 %2(s32) = G_CONSTANT i32 -1 -- 2.7.4