summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-11-21 10:17:02 +0000
committerDiana Picus <diana.picus@linaro.org>2017-11-21 10:17:02 +0000
commitc79dfb3b316d45536b9b1a8377fcdbc17fee50ab (patch)
tree54b30e5778e36c8a4941b7f479c4dda8e5a83a88 /llvm/test/CodeGen/ARM
parent3880f2a36396bec311ba6f1e70021d1edd6fa614 (diff)
downloadbcm5719-llvm-c79dfb3b316d45536b9b1a8377fcdbc17fee50ab.tar.gz
bcm5719-llvm-c79dfb3b316d45536b9b1a8377fcdbc17fee50ab.zip
[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
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r--llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir5
1 files changed, 5 insertions, 0 deletions
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 8932e2273b6..d8da96103fb 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
OpenPOWER on IntegriCloud