projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5295de7
)
Clear the OpAction field before setting it. This allows a target to set
author
Chris Lattner
<sabre@nondot.org>
Mon, 30 Jan 2006 06:09:03 +0000
(06:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 30 Jan 2006 06:09:03 +0000
(06:09 +0000)
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
include/llvm/Target/TargetLowering.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetLowering.h
b/include/llvm/Target/TargetLowering.h
index 0d64271199c79e2ca35730ce5152dce227caa63f..d10e63c66b7ccfe83f39bc7f14b01bf08dd8a8e2 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-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;
}