summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2018-03-07 22:07:13 +0000
committerSebastian Pop <sebpop@gmail.com>2018-03-07 22:07:13 +0000
commit33bdb3e0e6ff8d8da29c44fb591825175a56f378 (patch)
tree1a0ddcd959f418eac0d7c2109343ebae7e2c696d /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
parent7d80da15a0a11846f38e3f78fe612f90064b7bee (diff)
downloadbcm5719-llvm-33bdb3e0e6ff8d8da29c44fb591825175a56f378.tar.gz
bcm5719-llvm-33bdb3e0e6ff8d8da29c44fb591825175a56f378.zip
[AArch64] add missing pattern for insert_subvector undef
The attached testcase started failing after the patch to define isExtractSubvectorCheap with the following pattern mismatch: ISEL: Starting pattern match Initial Opcode index to 85068 Match failed at index 85076 LLVM ERROR: Cannot select: t47: v8i16 = insert_subvector undef:v8i16, t43, Constant:i64<0> The code generated from llvm/lib/Target/AArch64/AArch64InstrInfo.td def : Pat<(insert_subvector undef, (v4i16 FPR64:$src), (i32 0)), (INSERT_SUBREG (v8i16 (IMPLICIT_DEF)), FPR64:$src, dsub)>; is in ninja/lib/Target/AArch64/AArch64GenDAGISel.inc At the location of the error it is: /* 85076*/ OPC_CheckChild2Type, MVT::i32, And it failed to match the type of operand 2. Adding another def-pat for i64 fixes the failed def-pat error: def : Pat<(insert_subvector undef, (v4i16 FPR64:$src), (i64 0)), (INSERT_SUBREG (v8i16 (IMPLICIT_DEF)), FPR64:$src, dsub)>; llvm-svn: 326949
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud