[all-commits] [llvm/llvm-project] 137912: [MemoryBuiltins] Handle phi nodes without operands...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 31 01:47:31 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1379127481c3b26a6000d8d8f98e21fe7946e019
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    M llvm/lib/Analysis/MemoryBuiltins.cpp
    A llvm/test/Transforms/JumpThreading/pr63013.ll

  Log Message:
  [MemoryBuiltins] Handle phi nodes without operands (PR63013)

Conservatively return unknown in this degenerate case. This is
hard to hit in practice, because such phis are usually optimized
away before they reach a getObjectSize() call.

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

More information about the All-commits mailing list