I messed up my rebases leading to r297200, and ended up with stale (but
working) code. Fix it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297205
91177308-0d34-0410-b5e6-
96231b3b80d8
else
MIB.addImm(CI->getZExtValue());
} else if (auto *CFP = dyn_cast<ConstantFP>(&C)) {
- assert(isa<ConstantFP>(C) && "Unexpected constant dbg value");
- MIB.addFPImm(&cast<ConstantFP>(C));
+ MIB.addFPImm(CFP);
} else {
// Insert %noreg if we didn't find a usable constant and had to drop it.
MIB.addReg(0U);