llvm-project/llvm/test/CodeGen/X86/GlobalISel
Daniel Sanders bfa9e2cae7 [globalisel][tablegen] Simplify named operand/operator lookups and fix a wrong-code bug this revealed.
Summary:
Operand variable lookups are now performed by the RuleMatcher rather than
searching the whole matcher hierarchy for a match. This revealed a wrong-code
bug that currently affects ARM and X86 where patterns that use a variable more
than once in the match pattern will be imported but won't check that the
operands are identical. This can cause the tablegen-erated matcher to
accept matches that should be rejected.

Depends on D36569

Reviewers: ab, t.p.northover, qcolombet, rovka, aditya_nandakumar

Subscribers: aemerson, igorb, llvm-commits, kristof.beyls

Differential Revision: https://reviews.llvm.org/D36618

llvm-svn: 315780
2017-10-14 00:31:58 +00:00
..
GV.ll [GlobalISel][X86] Support G_GLOBAL_VALUE operation. 2017-07-02 08:58:29 +00:00
add-scalar.ll [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
add-vec.ll [GlobalISel][X86] Support vector type G_UNMERGE_VALUES selection. 2017-07-02 08:15:49 +00:00
and-scalar.ll [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
binop.ll
br.ll
brcond.ll [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
callingconv.ll [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
cmp.ll
constant.ll [GlobalISel][X86] fix %ptr(p0) = G_CONSTANT selection. 2017-07-03 11:06:54 +00:00
ext-x86-64.ll [GISel]: Fix generation of illegal COPYs during CallLowering 2017-10-09 20:07:43 +00:00
ext.ll [GlobalISel][X86] extend G_ZEXT support. 2017-07-10 09:07:34 +00:00
fadd-scalar.ll [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
fconstant.ll [GlobalISel][X86] G_FCONSTANT support. 2017-09-17 08:08:13 +00:00
fdiv-scalar.ll [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
fmul-scalar.ll [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
fpext-scalar.ll [GlobalISel][X86] support G_FPEXT operation. 2017-09-13 09:05:23 +00:00
frameIndex.ll [MC] Suppress .Lcfi labels when emitting textual assembly 2017-10-10 00:57:36 +00:00
fsub-scalar.ll [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
gep.ll Revert r314886 "[X86] Improvement in CodeGen instruction selection for LEAs (re-applying post required revision changes.)" 2017-10-04 17:54:06 +00:00
irtranslator-callingconv.ll [GISel]: Fix generation of illegal COPYs during CallLowering 2017-10-09 20:07:43 +00:00
legalize-GV.mir [GlobalISel][X86] Support G_GLOBAL_VALUE operation. 2017-07-02 08:58:29 +00:00
legalize-add-v128.mir
legalize-add-v256.mir [GlobalISel][X86] add legalizer mir tests. NFC 2017-06-20 08:30:48 +00:00
legalize-add-v512.mir [GlobalISel] combine not symmetric merge/unmerge nodes. 2017-06-20 08:54:17 +00:00
legalize-add.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
legalize-and-scalar.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
legalize-brcond.mir [GlobalISel][X86] Support G_BRCOND operation. 2017-08-21 10:51:54 +00:00
legalize-cmp.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
legalize-constant.mir [GlobalISel][X86] G_FCONSTANT support. 2017-09-17 08:08:13 +00:00
legalize-ext-x86-64.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
legalize-ext.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
legalize-fadd-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
legalize-fdiv-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
legalize-fmul-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
legalize-fpext-scalar.mir [GlobalISel][X86] support G_FPEXT operation. 2017-09-13 09:05:23 +00:00
legalize-fsub-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
legalize-gep.mir
legalize-insert-vec256.mir [GlobalISel][X86] Support vector type G_INSERT legalization/selection. 2017-06-22 09:43:35 +00:00
legalize-insert-vec512.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
legalize-memop-scalar.mir [GlobalISel][X86] Support G_LOAD/G_STORE i1. 2017-07-10 09:26:09 +00:00
legalize-mul-scalar.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
legalize-mul-v128.mir
legalize-mul-v256.mir
legalize-mul-v512.mir
legalize-or-scalar.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
legalize-phi.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
legalize-sub-v128.mir
legalize-sub-v256.mir
legalize-sub-v512.mir
legalize-sub.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
legalize-trunc.mir
legalize-undef.mir [GlobalISel][X86] Support G_IMPLICIT_DEF. 2017-08-24 07:06:27 +00:00
legalize-xor-scalar.mir [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
lit.local.cfg
memop-scalar-x32.ll [GlobalISel][X86] Support G_LOAD/G_STORE i1. 2017-07-10 09:26:09 +00:00
memop-scalar.ll Revert r314886 "[X86] Improvement in CodeGen instruction selection for LEAs (re-applying post required revision changes.)" 2017-10-04 17:54:06 +00:00
memop-vec.ll
mul-scalar.ll
mul-vec.ll
or-scalar.ll [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
phi.ll [GlobalISel][X86] G_PHI support. 2017-09-04 09:06:45 +00:00
regbankselect-AVX2.mir
regbankselect-AVX512.mir
regbankselect-X32.mir
regbankselect-X86_64.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-GV.mir [GlobalISel][X86] Fix mir tests, use correct physical register.NFC. 2017-08-16 07:25:51 +00:00
select-add-v128.mir
select-add-v256.mir
select-add-v512.mir
select-add-x32.mir
select-add.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-and-scalar.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-blsr.mir [globalisel][tablegen] Simplify named operand/operator lookups and fix a wrong-code bug this revealed. 2017-10-14 00:31:58 +00:00
select-br.mir
select-brcond.mir [GlobalISel][X86] Support G_BRCOND operation. 2017-08-21 10:51:54 +00:00
select-cmp.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-constant.mir [GlobalISel][X86] fix %ptr(p0) = G_CONSTANT selection. 2017-07-03 11:06:54 +00:00
select-copy.mir [GlobalISel][X86] Support asimetric copy from/to GPR physical register. 2017-08-20 07:14:40 +00:00
select-ext-x86-64.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-ext.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-extract-vec256.mir [GlobalISel][X86] Support vector type G_EXTRACT selection. 2017-06-25 11:42:17 +00:00
select-extract-vec512.mir [GlobalISel][X86] Support vector type G_EXTRACT selection. 2017-06-25 11:42:17 +00:00
select-fadd-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
select-fconstant.mir [GlobalISel][X86] G_FCONSTANT support. 2017-09-17 08:08:13 +00:00
select-fdiv-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
select-fmul-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
select-fpext-scalar.mir [GlobalISel][X86] support G_FPEXT operation. 2017-09-13 09:05:23 +00:00
select-frameIndex.mir
select-fsub-scalar.mir [GlobalISel][X86] Add fp32/62 legalizer, regbank-select, selection tests for G_FADD, G_FSUB, G_FMUL, G_FDIV. NFC. 2017-06-27 07:01:54 +00:00
select-gep.mir
select-inc.mir [globalisel][tablegen] Add support for importing 'imm' operands. 2017-08-08 10:44:31 +00:00
select-insert-vec256.mir [GlobalISel][X86] Support vector type G_INSERT legalization/selection. 2017-06-22 09:43:35 +00:00
select-insert-vec512.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-intrinsic-x86-flags-read-u32.mir [globalisel] Add support for intrinsic_w_chain. 2017-09-19 12:56:36 +00:00
select-leaf-constant.mir
select-memop-scalar-x32.mir [GlobalISel][X86] Fold FI/G_GEP into LDR/STR instruction addressing mode. 2017-06-19 13:12:57 +00:00
select-memop-scalar.mir [GlobalISel][X86] Get correct RegClass for given RegBank. 2017-06-20 09:15:10 +00:00
select-memop-v128.mir
select-memop-v256.mir
select-memop-v512.mir
select-merge-vec256.mir [GlobalISel][X86] Support vector type G_MERGE_VALUES selection. 2017-06-29 12:08:28 +00:00
select-merge-vec512.mir [GlobalISel][X86] Support vector type G_MERGE_VALUES selection. 2017-06-29 12:08:28 +00:00
select-mul-scalar.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-mul-vec.mir
select-or-scalar.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-phi.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-sub-v128.mir
select-sub-v256.mir
select-sub-v512.mir
select-sub.mir [GlobalISel][X86] Fix mir tests, use correct physical register.NFC. 2017-08-16 07:25:51 +00:00
select-trunc.mir
select-undef.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-unmerge-vec256.mir [GlobalISel][X86] Support vector type G_UNMERGE_VALUES selection. 2017-07-02 08:15:49 +00:00
select-unmerge-vec512.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
select-xor-scalar.mir [GlobalISel][X86] Use correct physical register in mir tests.NFC. 2017-09-17 08:30:42 +00:00
sub-scalar.ll [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00
sub-vec.ll
trunc.ll
undef.ll [GlobalISel][X86] Support G_IMPLICIT_DEF. 2017-08-24 07:06:27 +00:00
x86_64-fallback.ll [GlobalISel][X86] LowerCall, for now don't handel ByValue function arguments. 2017-08-21 08:59:59 +00:00
xor-scalar.ll [GlobalISel][X86] Legalize i1 G_ADD/G_SUB/G_MUL/G_XOR/G_OR/G_AND instructions. 2017-09-17 11:34:17 +00:00