mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[X86] Fix a mistake in the X86ISelDAGToDAG.cpp code for MUL8r/IMUL8r.
I think this code is unreachable due to some promotions that occur elsewhere. I'll look into that to be sure, but for now I thought I should at least fix the obvious typo. llvm-svn: 316840
This commit is contained in:
parent
54a084614e
commit
2cb3773070
@ -2728,7 +2728,7 @@ void X86DAGToDAGISel::Select(SDNode *Node) {
|
||||
// Get the low part if needed. Don't use getCopyFromReg for aliasing
|
||||
// registers.
|
||||
if (!SDValue(Node, 0).use_empty())
|
||||
ReplaceUses(SDValue(Node, 1),
|
||||
ReplaceUses(SDValue(Node, 0),
|
||||
CurDAG->getTargetExtractSubreg(X86::sub_8bit, dl, MVT::i8, Result));
|
||||
|
||||
// Shift AX down 8 bits.
|
||||
|
Loading…
Reference in New Issue
Block a user