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:
b2ed5fa
)
[inline asm] Return an undef SDValue of the expected value type, rather than
author
Chad Rosier
<mcrosier@apple.com>
Wed, 1 May 2013 19:49:26 +0000
(19:49 +0000)
committer
Chad Rosier
<mcrosier@apple.com>
Wed, 1 May 2013 19:49:26 +0000
(19:49 +0000)
report a fatal error. This allows us to continue processing the translation
unit. Test case to come on the clang side because we need an inline asm
diagnostics handler in place.
rdar://
13446483
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180873
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 5eeac5b11f21c2a70268134e26c187a79b54b6f7..2ded723ca0f8e6696b91eb4618279086b588058d 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@
-314,7
+314,7
@@
static SDValue getCopyFromPartsVector(SelectionDAG &DAG, DebugLoc DL,
} else {
Ctx.emitError(ErrMsg);
}
- re
port_fatal_error("Cannot handle scalar-to-vector conversion!"
);
+ re
turn DAG.getUNDEF(ValueVT
);
}
if (ValueVT.getVectorNumElements() == 1 &&