[PATCH] D110322: [ConstantFolding] Fold constrained compare intrinsics

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 26 20:13:42 PST 2022


sepavloff added a comment.

In D110322#3346560 <https://reviews.llvm.org/D110322#3346560>, @bgraur wrote:

> Hi,
>
> This commit causes clang to crash when compiling the attached reproducer with the following compilation command:
>
>   clang -cc1 \
>     -emit-obj \
>     -target-feature +sse4.2 \
>     -frounding-math \
>     -O1 \
>     -std=gnu++17 \
>     -fsized-deallocation \
>     -o /tmp/repro.o -x c++ repro.cc
>
> Please note that the crash only reproduces something like 60% of cases (just re-run a few times).
> Please revert.
>
> F22233962: repro.cc <https://reviews.llvm.org/F22233962>

Thank you for the report. There was an issue with treatment of vector constants. Commit https://reviews.llvm.org/rG6982c38cb120 fixes it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110322/new/

https://reviews.llvm.org/D110322



More information about the llvm-commits mailing list