[PATCH] D140210: [IPSCCP] Enable specialization of functions.

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 06:43:57 PST 2023


xbolva00 added a comment.

In D140210#4043435 <https://reviews.llvm.org/D140210#4043435>, @labrinea wrote:

> In D140210#4043192 <https://reviews.llvm.org/D140210#4043192>, @xbolva00 wrote:
>
>> For people who compile SPEC outside llvm test suite, there should be a note in release notes about this issue..
>
> Should there be? It's explicitly stated on the SPEC documentation that spec_qsort does not strictly obey the ANSI aliasing rules, and that it should be compiled with -fno-strict-aliasing.

One may wonder why SPEC with newly released clang/llvm fails. Or maybe a note that this powerful optimization may also expose many existing bugs.

Btw, there is probably no tool to check for violations of ANSI aliasing rules, right? Maybe Type Sanitizer by @fhahn could be able to do that.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140210



More information about the llvm-commits mailing list