summaryrefslogtreecommitdiff
path: root/lib/Target/R600/AMDGPUInstrInfo.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-12-10 21:37:42 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-12-10 21:37:42 +0000
commit17427fa9bb0d4dad96270542184d2a28d5626c22 (patch)
tree2ca66393dfd70e7b7d764a22072c8784bdc31d24 /lib/Target/R600/AMDGPUInstrInfo.cpp
parentb59d46efa521801a3d42fc5f53fedf3e81b070ce (diff)
downloadllvm-17427fa9bb0d4dad96270542184d2a28d5626c22.tar.gz
llvm-17427fa9bb0d4dad96270542184d2a28d5626c22.tar.bz2
llvm-17427fa9bb0d4dad96270542184d2a28d5626c22.tar.xz
Use llvm_unreachable instead of assert(0)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/AMDGPUInstrInfo.cpp')
-rw-r--r--lib/Target/R600/AMDGPUInstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/R600/AMDGPUInstrInfo.cpp b/lib/Target/R600/AMDGPUInstrInfo.cpp
index 4f7084b920..4bc90c0404 100644
--- a/lib/Target/R600/AMDGPUInstrInfo.cpp
+++ b/lib/Target/R600/AMDGPUInstrInfo.cpp
@@ -110,7 +110,7 @@ AMDGPUInstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
int FrameIndex,
const TargetRegisterClass *RC,
const TargetRegisterInfo *TRI) const {
- assert(!"Not Implemented");
+ llvm_unreachable("Not Implemented");
}
void
@@ -119,7 +119,7 @@ AMDGPUInstrInfo::loadRegFromStackSlot(MachineBasicBlock &MBB,
unsigned DestReg, int FrameIndex,
const TargetRegisterClass *RC,
const TargetRegisterInfo *TRI) const {
- assert(!"Not Implemented");
+ llvm_unreachable("Not Implemented");
}
bool AMDGPUInstrInfo::expandPostRAPseudo (MachineBasicBlock::iterator MI) const {