mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01: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. llvm-svn: 25812
This commit is contained in:
parent
0c7df7e9d1
commit
5583b2e227
@ -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…
Reference in New Issue
Block a user