Get rid of one more non-DebugLoc getNode and
[oota-llvm.git] / lib / CodeGen / IntrinsicLowering.cpp
index 960d660cb946866a1d50a01e9bbe5622d5ddbfa5..e893a06699c33ab6c85f3448876f87cd7f37011f 100644 (file)
@@ -533,6 +533,8 @@ static Instruction *LowerPartSet(CallInst *CI) {
       Lo = new ZExtInst(Lo_pn, ValTy, "", entry);
     } else if (ValBits < 32) {
       Lo = new TruncInst(Lo_pn, ValTy, "", entry);
+    } else {
+      Lo = Lo_pn;
     }
     // Determine if the replacement bits are larger than the number of bits we
     // are replacing and deal with it.