From 5691eb5ee772740a140938b1c3d7f82c8b2e53c8 Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Wed, 31 Dec 2014 17:14:35 +0000 Subject: [PATCH] Reverting 225045 and 225043 and XFAIL multiline.ll on hexagon llvm-svn: 225047 --- llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | 2 +- llvm/test/DebugInfo/multiline.ll | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp index 3f978d8..4471977 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp @@ -71,7 +71,7 @@ HexagonMCCodeEmitter::getMachineOpValue(MCInst const &MI, MCOperand const &MO, return MCT.getRegisterInfo()->getEncodingValue(MO.getReg()); if (MO.isImm()) return static_cast(MO.getImm()); - return 0; + llvm_unreachable("Only Immediates and Registers implemented right now"); } MCSubtargetInfo const &HexagonMCCodeEmitter::getSubtargetInfo() const { diff --git a/llvm/test/DebugInfo/multiline.ll b/llvm/test/DebugInfo/multiline.ll index 59c7aba8..d01f2c1 100644 --- a/llvm/test/DebugInfo/multiline.ll +++ b/llvm/test/DebugInfo/multiline.ll @@ -1,5 +1,6 @@ ; RUN: llc -filetype=asm -asm-verbose=0 -O0 < %s | FileCheck %s ; RUN: llc -filetype=obj -O0 < %s | llvm-dwarfdump -debug-dump=line - | FileCheck %s --check-prefix=INT +; XFAIL: hexagon ; Check that the assembly output properly handles is_stmt changes. And since ; we're testing anyway, check the integrated assembler too. -- 2.7.4