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:
65e9f39
)
custom lowered nodes are legal too
author
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:49:19 +0000
(23:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 5 Mar 2006 23:49:19 +0000
(23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26561
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 9a058e5969ebeebecf5f95047583cb3a3327fce5..29c7fb2c10fa578017d8bd1062ce03f46ba1c379 100644
(file)
--- a/
include/llvm/Target/TargetLowering.h
+++ b/
include/llvm/Target/TargetLowering.h
@@
-192,7
+192,8
@@
public:
/// isOperationLegal - Return true if the specified operation is legal on this
/// target.
bool isOperationLegal(unsigned Op, MVT::ValueType VT) const {
- return getOperationAction(Op, VT) == Legal;
+ return getOperationAction(Op, VT) == Legal ||
+ getOperationAction(Op, VT) == Custom;
}
/// getTypeToPromoteTo - If the action for this operation is to promote, this