diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2021-05-30 06:43:33 -0400 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2021-05-30 07:11:58 -0400 |
| commit | 7bb8bfa0622b8ee55c3f748004dcf4d83d48cf97 (patch) | |
| tree | d765b71320a07f6d4bce2a0758d4f9e12762cf18 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 126f90b252509486eab5bfbe06894805b26c8da2 (diff) | |
[InstCombine] fix miscompile from vector select substitution
This is similar to the fix in c590a9880d7a ( PR49832 ), but
we missed handling the pattern for select of bools (no compare
inst).
We can't substitute a vector value because the equality condition
replacement that we are attempting requires that the condition
is true/false for the entire value. Vector select can be partly
true/false.
I added an assert for vector types, so we shouldn't hit this again.
Fixed formatting while auditing the callers.
https://llvm.org/PR50500
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
