[llvm-commits] [llvm] r167663 - in /llvm/trunk/test: CodeGen/Thumb/thumb_jump24_fixup.ll MC/ARM/elf-jump24-fixup.s

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Nov 15 10:56:26 PST 2012


thanks :-)

On 9 November 2012 23:30, Evan Cheng <evan.cheng at apple.com> wrote:
> Author: evancheng
> Date: Fri Nov  9 22:30:40 2012
> New Revision: 167663
>
> URL: http://llvm.org/viewvc/llvm-project?rev=167663&view=rev
> Log:
> Convert an improper CodeGen test to a MC test.
>
> Added:
>     llvm/trunk/test/MC/ARM/elf-jump24-fixup.s
> Removed:
>     llvm/trunk/test/CodeGen/Thumb/thumb_jump24_fixup.ll
>
> Removed: llvm/trunk/test/CodeGen/Thumb/thumb_jump24_fixup.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb/thumb_jump24_fixup.ll?rev=167662&view=auto
> ==============================================================================
> --- llvm/trunk/test/CodeGen/Thumb/thumb_jump24_fixup.ll (original)
> +++ llvm/trunk/test/CodeGen/Thumb/thumb_jump24_fixup.ll (removed)
> @@ -1,25 +0,0 @@
> -; RUN: llc -mtriple thumbv7-none-linux-gnueabi -mcpu=cortex-a8 -march=thumb -mattr=thumb2 -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
> -; XFAIL: *
> -
> -
> -target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:32-n32-S64"
> -target triple = "thumbv7-none-linux-gnueabi"
> -
> -define i32 @test_fixup_t2_uncondbranch() {
> -b0:
> -  invoke void @__cxa_throw(i8* null, i8* null, i8* null) noreturn
> -    to label %unreachable unwind label %lpad
> -
> -; CHECK: {{[0-9]+}} R_ARM_THM_JUMP24 __cxa_throw
> -
> -lpad:
> -  %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) cleanup
> -  ret i32 0
> -
> -unreachable:
> -  unreachable
> -}
> -
> -declare i32 @__gxx_personality_v0(...)
> -
> -declare void @__cxa_throw(i8*, i8*, i8*)
>
> Added: llvm/trunk/test/MC/ARM/elf-jump24-fixup.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/elf-jump24-fixup.s?rev=167663&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/ARM/elf-jump24-fixup.s (added)
> +++ llvm/trunk/test/MC/ARM/elf-jump24-fixup.s Fri Nov  9 22:30:40 2012
> @@ -0,0 +1,9 @@
> +@ RUN: llvm-mc %s -triple=thumbv7-linux-gnueabi -filetype=obj -o - < %s | llvm-objdump -r - | FileCheck %s
> +       .syntax unified
> +       .text
> +       .code   16
> +       .thumb_func
> +foo:
> +       b.w     bar
> +
> +@ CHECK: {{[0-9]+}} R_ARM_THM_JUMP24 bar
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list