[all-commits] [llvm/llvm-project] 51561b: [ArgPromo][OpaquePointer] Don't promote mismatched...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Apr 12 15:18:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51561b5e8017a3153629ba45b89d013ffa665f6c
      https://github.com/llvm/llvm-project/commit/51561b5e8017a3153629ba45b89d013ffa665f6c
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-04-12 (Tue, 12 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/ArgumentPromotion.cpp
    M llvm/test/Transforms/ArgumentPromotion/opaque-ptr.ll

  Log Message:
  -----------
  [ArgPromo][OpaquePointer] Don't promote mismatched function types

Mismatched call/callee function types is considered an indirect call.

Fixes crash in https://reviews.llvm.org/D123300#3446023.




More information about the All-commits mailing list