[all-commits] [llvm/llvm-project] 4c5608: [AbstractCallSite][FIX] Correct faulty assertion

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Fri Nov 1 23:23:05 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c56086f8b458bbe8300b0cbd59baaf46ea38d7c
      https://github.com/llvm/llvm-project/commit/4c56086f8b458bbe8300b0cbd59baaf46ea38d7c
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/include/llvm/IR/CallSite.h
    M llvm/test/Transforms/IPConstantProp/multiple_callbacks.ll

  Log Message:
  -----------
  [AbstractCallSite][FIX] Correct faulty assertion

When the Attributor run on the IPConstantProp test case for multiple
callbacks it triggered a faulty assertion in the AbstractCallSite
implementation. The callee can well be at argument position 0.




More information about the All-commits mailing list