mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Do away with ImmutablePredicateOperand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78e02f78ce
commit
49ce02e408
@ -263,20 +263,13 @@ def zero_reg;
|
||||
/// PredicateOperand - This can be used to define a predicate operand for an
|
||||
/// instruction. OpTypes specifies the MIOperandInfo for the operand, and
|
||||
/// AlwaysVal specifies the value of this predicate when set to "always
|
||||
/// execute". If isImmutable is true, then the operand should not change
|
||||
/// after instruction selection.
|
||||
/// execute".
|
||||
class PredicateOperand<ValueType ty, dag OpTypes, dag AlwaysVal>
|
||||
: Operand<ty> {
|
||||
let MIOperandInfo = OpTypes;
|
||||
bit isImmutable = 0;
|
||||
dag DefaultOps = AlwaysVal;
|
||||
}
|
||||
|
||||
class ImmutablePredicateOperand<ValueType ty, dag OpTypes, dag AlwaysVal>
|
||||
: PredicateOperand<ty, OpTypes, AlwaysVal> {
|
||||
let isImmutable = 1;
|
||||
}
|
||||
|
||||
/// OptionalDefOperand - This is used to define a optional definition operand
|
||||
/// for an instruction. DefaultOps is the register the operand represents if none
|
||||
/// is supplied, e.g. zero_reg.
|
||||
|
Loading…
Reference in New Issue
Block a user