[all-commits] [llvm/llvm-project] 200f34: [reg2mem] Skip non-sized Instructions (PR58890)

Zhang via All-commits all-commits at lists.llvm.org
Mon Nov 14 03:47:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 200f3410cd0136460a776001712239129df7dd35
      https://github.com/llvm/llvm-project/commit/200f3410cd0136460a776001712239129df7dd35
  Author: HanSheng Zhang <admin at mayuyu.io>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Reg2Mem.cpp
    A llvm/test/Transforms/Reg2Mem/catchswitch-crash.ll
    A llvm/test/Transforms/Reg2Mem/non-token-test.ll

  Log Message:
  -----------
  [reg2mem] Skip non-sized Instructions (PR58890)

We can only convert sized values into alloca/load/store, skip
instructions returning other types.

Fixes https://github.com/llvm/llvm-project/issues/58890.

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




More information about the All-commits mailing list