OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d49a01
)
[X86ISelLowering] Provide a more informative assert message.
author
Davide Italiano
<davide@freebsd.org>
Fri, 19 Feb 2016 22:18:49 +0000
(22:18 +0000)
committer
Davide Italiano
<davide@freebsd.org>
Fri, 19 Feb 2016 22:18:49 +0000
(22:18 +0000)
I stumbled upon this while debugging a lowering bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261371
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86ISelLowering.cpp
b/lib/Target/X86/X86ISelLowering.cpp
index
ddbbf02
..
bdae495
100644
(file)
--- a/
lib/Target/X86/X86ISelLowering.cpp
+++ b/
lib/Target/X86/X86ISelLowering.cpp
@@
-16567,7
+16567,7
@@
static SDValue getTargetVShiftByConstNode(unsigned Opc, SDLoc dl, MVT VT,
ConstantSDNode *ND;
switch(Opc) {
- default: llvm_unreachable(
nullptr
);
+ default: llvm_unreachable(
"Unknown opcode!"
);
case X86ISD::VSHLI:
for (unsigned i=0; i!=NumElts; ++i) {
SDValue CurrentOp = SrcOp->getOperand(i);