diff options
author | aartbik <ajcbik@google.com> | 2020-04-23 11:28:34 -0700 |
---|---|---|
committer | aartbik <ajcbik@google.com> | 2020-04-23 15:12:44 -0700 |
commit | 907871d9ad2dfc5bc96fb49e897aa68c45f32e80 (patch) | |
tree | cdb8b4573b8d8523d0592c4c6d139f2c26b14349 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | e4e187d203e3a2ab1375630da35701a4536c2ec6 (diff) | |
download | llvm-907871d9ad2dfc5bc96fb49e897aa68c45f32e80.zip llvm-907871d9ad2dfc5bc96fb49e897aa68c45f32e80.tar.gz llvm-907871d9ad2dfc5bc96fb49e897aa68c45f32e80.tar.bz2 |
[llvm] [CodeGen] Fixed vector halving bug for masked load
Summary:
Given a VL=14 that is enveloped by a proper VL=16, splitting the
masked load using the enveloping halving VL=8/8 should yields
should eventually yield V=8/5. This fixes various assert failures
in getHalfNumVectorElementsVT() and IncrementMemoryAddress().
Note, I suspect similar fixes will be needed for other masked
operations, but for now I send out a fix for masked load only.
Bugzilla issue 45563
https://bugs.llvm.org/show_bug.cgi?id=45563
Reviewers: craig.topper, mehdi_amini, nicolasvasilache
Reviewed By: craig.topper
Subscribers: hiraditya, dmgreen, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D78608
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions