Displaying 1 result from an estimated 1 matches for "anonymous_1188".
2019 Nov 28
2
Question on pattern matching extractelt
...specifying the result type in the pattern:
def : Pat<(i32 (extractelt (v4i16 SingleReg:$v), 1)), (SRADd1 SingleReg :$v, (i64 16))>;
But in that case I get a tblgen error:
possible type contradiction in the pattern below (use -print-records with llvm-tblgen to see all expanded records).
anonymous_1188: (extractelt:{ *:[] } SingleReg:{ *:[] }:$v, 0:{ *:[i64] })
Is there anyway to match such pattern?
Thanks in advacne!
regards,
Sebastien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191128/e535292...