diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-09-17 19:47:41 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-09-17 19:47:41 +0000 |
commit | 82bf979d530ecad0bc43231a77d9f1a67df53f11 (patch) | |
tree | 2f9251f60334924dc6dfa89dad764dfb411f8279 /contrib/llvm-project/llvm | |
parent | 927c847d5f351ca027865d4c0f2f279f9b963a72 (diff) | |
download | src-82bf979d530ecad0bc43231a77d9f1a67df53f11.tar.gz src-82bf979d530ecad0bc43231a77d9f1a67df53f11.zip |
Notes
Diffstat (limited to 'contrib/llvm-project/llvm')
-rw-r--r-- | contrib/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/contrib/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 3cd80cb04ab8..4768c5aa543d 100644 --- a/contrib/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/contrib/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -3496,6 +3496,7 @@ bool X86DAGToDAGISel::matchBitExtract(SDNode *Node) { // Shift NBits left by 8 bits, thus producing 'control'. // This makes the low 8 bits to be zero. SDValue C8 = CurDAG->getConstant(8, DL, MVT::i8); + insertDAGNode(*CurDAG, SDValue(Node, 0), C8); SDValue Control = CurDAG->getNode(ISD::SHL, DL, MVT::i32, NBits, C8); insertDAGNode(*CurDAG, SDValue(Node, 0), Control); |