mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
sink the Instruction::HasMetadata bit into SubclassData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -733,11 +733,11 @@ public:
|
||||
|
||||
/// @brief Return the predicate for this instruction.
|
||||
Predicate getPredicate() const {
|
||||
return Predicate(getSubclassDataFromValue());
|
||||
return Predicate(getSubclassDataFromInstruction());
|
||||
}
|
||||
|
||||
/// @brief Set the predicate for this instruction to the specified value.
|
||||
void setPredicate(Predicate P) { setValueSubclassData(P); }
|
||||
void setPredicate(Predicate P) { setInstructionSubclassData(P); }
|
||||
|
||||
static bool isFPPredicate(Predicate P) {
|
||||
return P >= FIRST_FCMP_PREDICATE && P <= LAST_FCMP_PREDICATE;
|
||||
|
||||
Reference in New Issue
Block a user