summaryrefslogtreecommitdiff
path: root/lib/Target/R600/R600ISelLowering.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-12-13 19:38:52 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-12-13 19:38:52 +0000
commit08f2d9379c486a0e4b950e476913ee97b38ec333 (patch)
tree0977db42cefea638eff2b355b376cf8d38ad4fa7 /lib/Target/R600/R600ISelLowering.cpp
parentdfebc4cc4c267f797e823b781d73586cc6fc49c5 (diff)
downloadllvm-08f2d9379c486a0e4b950e476913ee97b38ec333.tar.gz
llvm-08f2d9379c486a0e4b950e476913ee97b38ec333.tar.bz2
llvm-08f2d9379c486a0e4b950e476913ee97b38ec333.tar.xz
Fix warnings with -DNDEBUG
Patch by: NAKAMURA Takumi git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/R600ISelLowering.cpp')
-rw-r--r--lib/Target/R600/R600ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/R600ISelLowering.cpp b/lib/Target/R600/R600ISelLowering.cpp
index eaeff4ec21..28d5470b8c 100644
--- a/lib/Target/R600/R600ISelLowering.cpp
+++ b/lib/Target/R600/R600ISelLowering.cpp
@@ -413,7 +413,7 @@ SDValue R600TargetLowering::LowerOperation(SDValue Op, SelectionDAG &DAG) const
Inst = 1;
break;
default:
- assert(0 && "Wrong buffer id for stream outputs !");
+ llvm_unreachable("Wrong buffer id for stream outputs !");
}
return InsertScalarToRegisterExport(DAG, Op.getDebugLoc(), OutputsMap,