[RISCV][GISel] Remove unnecessary Observer notifications from legalizeVAStart.
commit306e13e499e45c8a2b24bd00937688fade8ad41e
authorCraig Topper <craig.topper@sifive.com>
Thu, 30 Nov 2023 17:50:03 +0000 (30 09:50 -0800)
committerCraig Topper <craig.topper@sifive.com>
Thu, 30 Nov 2023 17:53:37 +0000 (30 09:53 -0800)
tree4259c6e5dd95d7f61872aaebc9d6dcdc062d744d
parent2eff36b7d33fb9ea5c15ea8561fe6b30105d48f5
[RISCV][GISel] Remove unnecessary Observer notifications from legalizeVAStart.

MIRBuilder already tells the observer when an instruction is created.

No other legalizer code on any target tells the observer when it
erases the instruction it was asked to legalize.
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h