[all-commits] [llvm/llvm-project] 435d44: [VE][NFC] Fix use-after-free in VEInstrInfo

Simon Moll via All-commits all-commits at lists.llvm.org
Wed Dec 1 10:32:20 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 435d44bf8ab3925b85b70c0736841e3c4c667199
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M llvm/lib/Target/VE/VEInstrInfo.cpp

  Log Message:
  [VE][NFC] Fix use-after-free in VEInstrInfo

First call getOperand, then erase the MachineInstr. Not the other way

Expected to fix test/CodeGen/VE/VELIntrinsics/lvm.ll

Detected by asan buildbot:


More information about the All-commits mailing list