[all-commits] [llvm/llvm-project] 2832d7: [SROA] Remove UB-implying metadata when promoting ...

DianQK via All-commits all-commits at lists.llvm.org
Sun Apr 16 07:37:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2832d7941f4207f1fcf813b27cf08cecc3086959
      https://github.com/llvm/llvm-project/commit/2832d7941f4207f1fcf813b27cf08cecc3086959
  Author: DianQK <dianqk at dianqk.net>
  Date:   2023-04-16 (Sun, 16 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    M llvm/test/Transforms/SROA/select-load.ll

  Log Message:
  -----------
  [SROA] Remove UB-implying metadata when promoting speculative instruction.

After D138238 introduced the then/else blocks, we should remove UB-implying metadata for the promoted speculative instruction.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D148456




More information about the All-commits mailing list