[all-commits] [llvm/llvm-project] 8398e6: [AutoUpgrade] Also upgrade intrinsics in invokes

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 8 07:00:08 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8398e61f93ee65700bed6395cd2a9704edad4afe
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/IR/AutoUpgrade.cpp
    A llvm/test/Assembler/invoke-intrinsic-upgrade.ll

  Log Message:
  [AutoUpgrade] Also upgrade intrinsics in invokes

We currently don't have any specialized upgrades for intrinsics
that can be used in invokes, but they can still be subject to
a generic remangling upgrade. In particular, this happens when
upgrading statepoint intrinsics under -opaque-pointers.

This patch just changes the upgrade code to work on CallBase
instead of CallInst in particular.

More information about the All-commits mailing list