Fix warnings in release build.
This fixes a couple of Clang warnings in release builds of LLVM:
* Missing return in ISelLowering
* Unused variable in NVPTXutil.cpp
llvm-svn: 156216
diff --git a/llvm/lib/Target/NVPTX/NVPTXutil.cpp b/llvm/lib/Target/NVPTX/NVPTXutil.cpp
index de311d2..6a0e532 100644
--- a/llvm/lib/Target/NVPTX/NVPTXutil.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXutil.cpp
@@ -75,6 +75,7 @@
int retval = encode_leb128(temp64.x, &nbytes, encoded, 16);
+ (void)retval;
assert(retval == 0 &&
"Encoding to leb128 failed");