Open Quuxplusone opened 6 years ago
Bugzilla Link | PR39501 |
Status | NEW |
Importance | P normal |
Reported by | H.J. Lu (hjl.tools@gmail.com) |
Reported on | 2018-10-30 08:58:38 -0700 |
Last modified on | 2020-07-01 16:18:51 -0700 |
Version | trunk |
Hardware | PC Linux |
CC | craig.topper@gmail.com, echristo@gmail.com, erich.keane@intel.com, iains-llvm@btconnect.com, llvm-bugs@lists.llvm.org, rnk@google.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
If I'm understanding what's happening right. The frontend is always sending the type directly into IR as the full vector type. The backend will try to fit that type into 4 of whatever vector register width is available. If it doesn't fit it falls back to memory.
Candidate patch https://reviews.llvm.org/D53919
As of 2831a317b689c7f005a29f008a8e4c24485c0711 we should at least warn on ABI mismatches. But we still pass large vectors differently than gcc.