[PATCH] [X86] Look for scalar through one bitcast when lowering to VBROADCAST.
chandlerc at gmail.com
Thu Jun 18 18:42:15 PDT 2015
Nice catch for the missing pattern, and yay for being able to pattern match these things rather than needing C++ code.
Given that we have the test here, I don't really have a problem with it.
It might be nice to merge these with the larger vector-shuffle-* tests which do load fold testing, but that doesn't seem critical, and certainly shouldn't block this patch.
More information about the llvm-commits