[PATCH] D118538: [SLP] Schedule only sub-graph of vectorizable instructions

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 00:49:18 PST 2022


uabelho added a comment.

Another somewhat similar case but with less different compiler flags needed:

  build-all-builtins/bin/clang -finline-hint-functions -std=c99 -fsanitize=undefined -O2 'vla_sum_1.c' -o 'vla_sum_1.out'
  ./vla_sum_1.out

Result:

  UndefinedBehaviorSanitizer:DEADLYSIGNAL
  ==160192==ERROR: UndefinedBehaviorSanitizer: BUS on unknown address (pc 0x00000042b6c9 bp 0x7fff7d630950 sp 0x1000100010001 T160192)
  ==160192==The signal is caused by a READ memory access.
  ==160192==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
      #0 0x42b6c9  (/repo/uabelho/master-github/llvm/vla_sum_1.out+0x42b6c9)
      #1 0x42b857  (/repo/uabelho/master-github/llvm/vla_sum_1.out+0x42b857)
      #2 0x7fa2c69b4554  (/lib64/libc.so.6+0x22554) (BuildId: e6847a931dd483773bab779dd3985b17c11caab2)
      #3 0x402cb4  (/repo/uabelho/master-github/llvm/vla_sum_1.out+0x402cb4)
  
  UndefinedBehaviorSanitizer can not provide additional info.
  SUMMARY: UndefinedBehaviorSanitizer: BUS (/repo/uabelho/master-github/llvm/vla_sum_1.out+0x42b6c9) 
  ==160192==ABORTING

F22305411: vla_sum_1.c <https://reviews.llvm.org/F22305411>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118538



More information about the llvm-commits mailing list