mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-05 12:31:46 +00:00
Clear the OpAction field before setting it. This allows a target to set
an instruction operation action to Expand, then set it to Legal later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5295de7c41
commit
cb0b555663
@ -368,6 +368,7 @@ protected:
|
||||
LegalizeAction Action) {
|
||||
assert(VT < 32 && Op < sizeof(OpActions)/sizeof(OpActions[0]) &&
|
||||
"Table isn't big enough!");
|
||||
OpActions[Op] &= ~(3ULL << VT*2);
|
||||
OpActions[Op] |= Action << VT*2;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user