diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-09-28 15:24:41 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-09-28 15:24:41 +0000 |
| commit | 242f90fe82ef60e7dc4629961f7c732ccf5e69f8 (patch) | |
| tree | 232e044dea1487e7896bbd1e3de763cf39125106 /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 699ee504f6448516d1fe89f8f56a61584b774a4a (diff) | |
| download | llvm-242f90fe82ef60e7dc4629961f7c732ccf5e69f8.zip llvm-242f90fe82ef60e7dc4629961f7c732ccf5e69f8.tar.gz llvm-242f90fe82ef60e7dc4629961f7c732ccf5e69f8.tar.bz2 | |
[InstCombine] don't propagate wider shufflevector arguments to predecessors
InstCombine would propagate shufflevector insts that had wider output vectors onto
predecessors, which would sometimes push undef's onto the divisor of a div/rem and
result in bad codegen.
I've fixed this by just banning propagating shufflevector back if the result of
the shufflevector is wider than the input vectors.
Patch by: @sheredom (Neil Henning)
Differential Revision: https://reviews.llvm.org/D52548
llvm-svn: 343329
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
