mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Fix the test.
It was broken since r221708. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -6,18 +6,26 @@ | |||||||
| ; RUN:    -shared %t.o -o %t2.o | ; RUN:    -shared %t.o -o %t2.o | ||||||
| ; RUN: llvm-nm %t2.o | FileCheck %s | ; RUN: llvm-nm %t2.o | FileCheck %s | ||||||
|  |  | ||||||
| ; CHECK: T __llvm_jump_instr_table_0_1 | ; CHECK: t __llvm_jump_instr_table_0_1 | ||||||
| ; CHECK: T __llvm_jump_instr_table_1_1 | ; CHECK: t __llvm_jump_instr_table_1_1 | ||||||
|  |  | ||||||
| target triple = "x86_64-unknown-linux-gnu" | target triple = "x86_64-unknown-linux-gnu" | ||||||
| define i32 @g(i32 %a) unnamed_addr jumptable { | define i32 @g(i32 %a) unnamed_addr jumptable { | ||||||
|   ret i32 %a |   ret i32 %a | ||||||
| } | } | ||||||
|  |  | ||||||
|  | define i32 (i32)* @get_g() { | ||||||
|  |   ret i32 (i32)* @g | ||||||
|  | } | ||||||
|  |  | ||||||
| define i32 @f() unnamed_addr jumptable { | define i32 @f() unnamed_addr jumptable { | ||||||
|   ret i32 0 |   ret i32 0 | ||||||
| } | } | ||||||
|  |  | ||||||
|  | define i32 ()* @get_f() { | ||||||
|  |   ret i32 ()* @f | ||||||
|  | } | ||||||
|  |  | ||||||
| define <2 x i64> @test_aes(<2 x i64> %a0, <2 x i64> %a1) { | define <2 x i64> @test_aes(<2 x i64> %a0, <2 x i64> %a1) { | ||||||
|   %res = call <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64> %a0, <2 x i64> %a1) |   %res = call <2 x i64> @llvm.x86.aesni.aesenc(<2 x i64> %a0, <2 x i64> %a1) | ||||||
|   ret <2 x i64> %res |   ret <2 x i64> %res | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user