Depends on D89458
Details
Diff Detail
Event Timeline
llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp | ||
---|---|---|
191 | It's not possible to check this is a Def? I see a mvneq is not changed though. I'm guessing that predicate info is not added to MCInsts? |
llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp | ||
---|---|---|
191 | To check if a machine operand is a definition you need the MCInstrDesc. I think that it should be possible to use the new predicate introduced by D89553 to define functions that also check if operands are definitons. |
Addressed.
@dmgreen There is no predicate for basic (w/o shift) moves in A57 model, that's why mvneq is not touched.
Alright. I hadn't seen that the variant for IsCPSRDefinedAndPredicatedPred == IsPredicatedPred for MVN's too.
Thanks for adding the def check. LGTM.
It's not possible to check this is a Def?
I see a mvneq is not changed though. I'm guessing that predicate info is not added to MCInsts?