[llvm] [SelectionDAG] Fix a false assumption that there will always be a valid integer type corresponding to a vector type (PR #96658)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 14:55:37 PDT 2024


================
@@ -1468,13 +1468,30 @@ SDValue SelectionDAG::getZExtOrTrunc(SDValue Op, const SDLoc &DL, EVT VT) {
 }
 
 SDValue SelectionDAG::getBitcastedAnyExtOrTrunc(SDValue Op, const SDLoc &DL,
-                                                 EVT VT) {
+                                                EVT VT) {
----------------
arsenm wrote:

>From the name of the function I'm not sure this should be doing all this fancy vector stuff. Should the caller be fixed instead? 

https://github.com/llvm/llvm-project/pull/96658


More information about the llvm-commits mailing list