projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73593f
)
[X86] Add a return to the end of a switch to prevent an accidental fallthrough in...
author
Craig Topper
<craig.topper@intel.com>
Wed, 15 Nov 2017 20:42:47 +0000
(20:42 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Wed, 15 Nov 2017 20:42:47 +0000
(20:42 +0000)
llvm-svn: 318330
llvm/lib/Target/X86/X86ISelLowering.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelLowering.cpp
b/llvm/lib/Target/X86/X86ISelLowering.cpp
index
63ab4d4
..
532097b
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/
llvm/lib/Target/X86/X86ISelLowering.cpp
@@
-24900,6
+24900,7
@@
void X86TargetLowering::ReplaceNodeResults(SDNode *N,
ToVecInt, DAG.getIntPtrConstant(i, dl)));
Results.push_back(DAG.getBuildVector(DstVT, dl, Elts));
+ return;
}
}
}