llvm-2.7 (2.7-6) 0010-ARM-BX_to_BLX.patch

Summary

 lib/Target/ARM/ARMInstrInfo.td |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

---
 ARMInstrInfo.td |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -942,7 +942,7 @@
                   IIC_Br, "mov\tlr, pc\n\tbx\t$func",
                   [(ARMcall_nolink tGPR:$func)]>,
            Requires<[IsARM, HasV4T, IsNotDarwin]> {
-    let Inst{7-4}   = 0b0001;
+    let Inst{7-4}   = 0b0011;
     let Inst{19-8}  = 0b111111111111;
     let Inst{27-20} = 0b00010010;
   }