[PATCH] D15515: [AArch64] Add missing extract extend patterns
silviu.baranga@arm.com via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 15 03:02:28 PST 2015
sbaranga added inline comments.
================
Comment at: lib/Target/AArch64/AArch64InstrInfo.td:3809
@@ -3808,1 +3808,3 @@
+def : Pat<(sext_inreg (i64 (anyext (vector_extract (v16i8 V128:$Rn),
+ VectorIndexB:$idx))), i8),
----------------
Any idea why we don't have (anyext (vector_extract (...) ) -> vector_extract ( )?
I see that vector_extract is EXTRACT_VECTOR_ELT, which according to ISDOpcodes.h should be able to perform the anyext operation. If that would happen, wouldn't one of the patterns above match this?
http://reviews.llvm.org/D15515
More information about the llvm-commits
mailing list