[PATCH] D47215: DAG: Fix extract_subvector combine for a single element

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 8 14:14:30 PDT 2018


arsenm added a comment.

In https://reviews.llvm.org/D47215#1126880, @craig.topper wrote:

> Can this break if the build vector operand type is larger than the build vector element type? As happens when the element type isn’t a legal scalar type.


There probably needs to be a truncate, but I don't know how to construct a test that would need this


https://reviews.llvm.org/D47215





More information about the llvm-commits mailing list