mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Remove neverHasSideEffects support from TableGen CodeGenInstruction. Everyone should use hasSideEffects now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222809 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -325,7 +325,6 @@ CodeGenInstruction::CodeGenInstruction(Record *R)
|
||||
mayStore_Unset = Unset;
|
||||
hasSideEffects = R->getValueAsBitOrUnset("hasSideEffects", Unset);
|
||||
hasSideEffects_Unset = Unset;
|
||||
neverHasSideEffects = R->getValueAsBit("neverHasSideEffects");
|
||||
|
||||
isAsCheapAsAMove = R->getValueAsBit("isAsCheapAsAMove");
|
||||
hasExtraSrcRegAllocReq = R->getValueAsBit("hasExtraSrcRegAllocReq");
|
||||
@@ -335,9 +334,6 @@ CodeGenInstruction::CodeGenInstruction(Record *R)
|
||||
ImplicitDefs = R->getValueAsListOfDefs("Defs");
|
||||
ImplicitUses = R->getValueAsListOfDefs("Uses");
|
||||
|
||||
if (neverHasSideEffects + hasSideEffects > 1)
|
||||
PrintFatalError(R->getName() + ": multiple conflicting side-effect flags set!");
|
||||
|
||||
// Parse Constraints.
|
||||
ParseConstraints(R->getValueAsString("Constraints"), Operands);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user