[all-commits] [llvm/llvm-project] 462a67: [IR] Avoid use of PointerType::getElementType() in...

topperc via All-commits all-commits at lists.llvm.org
Sat Nov 2 01:40:01 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 462a67fadd8bec3fe86bef0b045649f65cffaedd
      https://github.com/llvm/llvm-project/commit/462a67fadd8bec3fe86bef0b045649f65cffaedd
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2019-11-02 (Sat, 02 Nov 2019)

  Changed paths:
    M llvm/include/llvm/IR/Instructions.h

  Log Message:
  -----------
  [IR] Avoid use of PointerType::getElementType() in one of the CallBrInst constructors.

We already have the FunctionType we can call getReturnType on.
I think this was due to a bad rebase of the CallBr patch while
it was in development when CallInst and InvokeInst were updated.




More information about the All-commits mailing list