[PATCH] D31999: [Hexagon] Fix "LowerFormalArguments emitted a value with the wrong type!" assertion

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 13 08:13:01 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL300198: [Hexagon] Fix "LowerFormalArguments emitted a value with the wrong type!"… (authored by kparzysz).

Changed prior to commit:
  https://reviews.llvm.org/D31999?vs=95066&id=95130#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31999

Files:
  llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp


Index: llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
===================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
+++ llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp
@@ -1254,7 +1254,7 @@
         InVals.push_back(FIN);
       } else {
         InVals.push_back(
-            DAG.getLoad(VA.getLocVT(), dl, Chain, FIN, MachinePointerInfo()));
+            DAG.getLoad(VA.getValVT(), dl, Chain, FIN, MachinePointerInfo()));
       }
     }
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31999.95130.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/c9e0fe39/attachment.bin>


More information about the llvm-commits mailing list