[PATCH] D115462: [SLP]Improve shuffles cost estimation where possible.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 22:13:38 PDT 2022


MaskRay added a comment.
Herald added a subscriber: nlopes.

Looks like cac60940b771a0685d058a5b471c84cea05fdc46 <https://reviews.llvm.org/rGcac60940b771a0685d058a5b471c84cea05fdc46> causes a miscompile again.
It causes https://github.com/pytorch/cpuinfo `src/x86/isa.c:cpuinfo_x86_detect_isa` to be miscompiled at least in `-O1 -fsanitize=memory` mode. The address of `isa` soon incorrectly becomes null:

  (gdb) p &isa
  $3 = (struct cpuinfo_x86_isa *) 0x0


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115462



More information about the llvm-commits mailing list