[all-commits] [llvm/llvm-project] 18ddeb: Remove UB-implying metadata when promoting specula...

DianQK via All-commits all-commits at lists.llvm.org
Tue Apr 18 18:09:21 PDT 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 18ddebe1a1a9bde349441631365f0472e9693520
      https://github.com/llvm/llvm-project/commit/18ddebe1a1a9bde349441631365f0472e9693520
  Author: DianQK <dianqk at dianqk.net>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

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

  Log Message:
  -----------
  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

(cherry picked from commit 2832d7941f4207f1fcf813b27cf08cecc3086959)




More information about the All-commits mailing list