diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-04-05 12:14:49 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-04-05 12:25:40 -0400 |
commit | c590a9880d7a660a1c911fce07f3d01ea18be2df (patch) | |
tree | 526919e4e807b363dc46f5b3ed3c1b119f1b53d7 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | c0b0da4684908b8e8143c0762fc766c1a2a5849f (diff) | |
download | llvm-c590a9880d7a660a1c911fce07f3d01ea18be2df.zip llvm-c590a9880d7a660a1c911fce07f3d01ea18be2df.tar.gz llvm-c590a9880d7a660a1c911fce07f3d01ea18be2df.tar.bz2 |
[InstCombine] fix potential miscompile in select value equivalence
As shown in the example based on:
https://llvm.org/PR49832
...and the existing test, we can't substitute
a vector value because the equality compare
replacement that we are attempting requires
that the comparison is true for the entire
value. Vector select can be partly true/false.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions