Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index b07b28388b7065a4687370dee4a7937c3dc420fd..b45d2f1ea28872708913803fb94d37e8f1a6f232 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -969,8 +969,8 @@ void InstARM32Ret::emit(const Cfg *Func) const { |
} |
void InstARM32Ret::emitIAS(const Cfg *Func) const { |
- (void)Func; |
- llvm_unreachable("Not yet implemented"); |
+ ARM32::AssemblerARM32 *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
+ Asm->bx(RegARM32::Encoded_Reg_lr); |
} |
void InstARM32Ret::dump(const Cfg *Func) const { |