mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
check the correct VT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22332 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f5bca5c15
commit
619fb52764
@ -1642,7 +1642,7 @@ unsigned AlphaISel::SelectExpr(SDOperand N) {
|
||||
Select(Chain);
|
||||
unsigned r = dyn_cast<RegSDNode>(Node)->getReg();
|
||||
//std::cerr << "CopyFromReg " << Result << " = " << r << "\n";
|
||||
if (isFP)
|
||||
if (MVT::isFloatingPoint(N.getValue(0).getValueType()))
|
||||
BuildMI(BB, Alpha::CPYS, 2, Result).addReg(r).addReg(r);
|
||||
else
|
||||
BuildMI(BB, Alpha::BIS, 2, Result).addReg(r).addReg(r);
|
||||
|
Loading…
Reference in New Issue
Block a user