[PATCH] D53919: [X86] Don't allow illegal vector types to return by direct value.
    H.J Lu via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Oct 31 02:56:51 PDT 2018
    
    
  
hjl.tools added inline comments.
================
Comment at: lib/CodeGen/TargetInfo.cpp:2862
   // place naturally.
-  if (!isAggregateTypeForABI(Ty)) {
+  if (!isAggregateTypeForABI(Ty) && !IsIllegalVectorType(Ty)) {
     // Treat an enum type as its underlying type.
----------------
Doesn't -m32 have the same issue?
Repository:
  rC Clang
https://reviews.llvm.org/D53919
    
    
More information about the cfe-commits
mailing list