Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: tests_lit/assembler/x86/immediate_encodings.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/assembler/x86/jump_encodings.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/assembler/x86/immediate_encodings.ll
diff --git a/tests_lit/assembler/x86/immediate_encodings.ll b/tests_lit/assembler/x86/immediate_encodings.ll
index e16ade31388fb58fafb987db574f330ad4f41fea..5a35285ac9eb43af4e083e49d00c2a2e6139f33b 100644
--- a/tests_lit/assembler/x86/immediate_encodings.ll
+++ b/tests_lit/assembler/x86/immediate_encodings.ll
@@ -250,7 +250,7 @@ entry:
; CHECK-LABEL: testMul32Imm16Neg
; CHECK: 69 c0 01 ff ff ff imul eax,eax,0xffffff01
-define i32 @testMul32Imm32ThreeAddress(i32 %a) {
+define internal i32 @testMul32Imm32ThreeAddress(i32 %a) {
entry:
%mul = mul i32 232, %a
%add = add i32 %mul, %a
@@ -259,7 +259,7 @@ entry:
; CHECK-LABEL: testMul32Imm32ThreeAddress
; CHECK: 69 c8 e8 00 00 00 imul ecx,eax,0xe8
-define i32 @testMul32Mem32Imm32ThreeAddress(i32 %addr_arg) {
+define internal i32 @testMul32Mem32Imm32ThreeAddress(i32 %addr_arg) {
entry:
%__1 = inttoptr i32 %addr_arg to i32*
%a = load i32, i32* %__1, align 1
@@ -269,7 +269,7 @@ entry:
; CHECK-LABEL: testMul32Mem32Imm32ThreeAddress
; CHECK: 69 00 e8 00 00 00 imul eax,DWORD PTR [eax],0xe8
-define i32 @testMul32Imm8ThreeAddress(i32 %a) {
+define internal i32 @testMul32Imm8ThreeAddress(i32 %a) {
entry:
%mul = mul i32 127, %a
%add = add i32 %mul, %a
@@ -278,7 +278,7 @@ entry:
; CHECK-LABEL: testMul32Imm8ThreeAddress
; CHECK: 6b c8 7f imul ecx,eax,0x7f
-define i32 @testMul32Mem32Imm8ThreeAddress(i32 %addr_arg) {
+define internal i32 @testMul32Mem32Imm8ThreeAddress(i32 %addr_arg) {
entry:
%__1 = inttoptr i32 %addr_arg to i32*
%a = load i32, i32* %__1, align 1
@@ -288,7 +288,7 @@ entry:
; CHECK-LABEL: testMul32Mem32Imm8ThreeAddress
; CHECK: 6b 00 7f imul eax,DWORD PTR [eax],0x7f
-define i32 @testMul16Imm16ThreeAddress(i32 %a) {
+define internal i32 @testMul16Imm16ThreeAddress(i32 %a) {
entry:
%arg_i16 = trunc i32 %a to i16
%mul = mul i16 232, %arg_i16
@@ -299,7 +299,7 @@ entry:
; CHECK-LABEL: testMul16Imm16ThreeAddress
; CHECK: 66 69 c8 e8 00 imul cx,ax,0xe8
-define i32 @testMul16Mem16Imm16ThreeAddress(i32 %addr_arg) {
+define internal i32 @testMul16Mem16Imm16ThreeAddress(i32 %addr_arg) {
entry:
%__1 = inttoptr i32 %addr_arg to i16*
%a = load i16, i16* %__1, align 1
@@ -310,7 +310,7 @@ entry:
; CHECK-LABEL: testMul16Mem16Imm16ThreeAddress
; CHECK: 66 69 00 e8 00 imul ax,WORD PTR [eax],0xe8
-define i32 @testMul16Imm8ThreeAddress(i32 %a) {
+define internal i32 @testMul16Imm8ThreeAddress(i32 %a) {
entry:
%arg_i16 = trunc i32 %a to i16
%mul = mul i16 127, %arg_i16
@@ -321,7 +321,7 @@ entry:
; CHECK-LABEL: testMul16Imm8ThreeAddress
; CHECK: 66 6b c8 7f imul cx,ax,0x7f
-define i32 @testMul16Mem16Imm8ThreeAddress(i32 %addr_arg) {
+define internal i32 @testMul16Mem16Imm8ThreeAddress(i32 %addr_arg) {
entry:
%__1 = inttoptr i32 %addr_arg to i16*
%a = load i16, i16* %__1, align 1
@@ -373,7 +373,7 @@ entry:
; Test a few register encodings of "test".
declare i64 @llvm.ctlz.i64(i64, i1)
-define i64 @test_via_ctlz_64(i64 %x, i64 %y, i64 %z, i64 %w) {
+define internal i64 @test_via_ctlz_64(i64 %x, i64 %y, i64 %z, i64 %w) {
entry:
%r = call i64 @llvm.ctlz.i64(i64 %x, i1 false)
%r2 = call i64 @llvm.ctlz.i64(i64 %y, i1 false)
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/assembler/x86/jump_encodings.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698