Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLVM bpEVL
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Albano
LLVM bpEVL
Commits
21bfc717
Commit
21bfc717
authored
11 years ago
by
David Woodhouse
Browse files
Options
Downloads
Patches
Plain Diff
[ARM] Remove superfluous inline asm mode switch test
llvm-svn: 200361
parent
efe919ff
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/test/CodeGen/ARM/inlineasm-mode-switch.ll
+0
-23
0 additions, 23 deletions
llvm/test/CodeGen/ARM/inlineasm-mode-switch.ll
with
0 additions
and
23 deletions
llvm/test/CodeGen/ARM/inlineasm-mode-switch.ll
deleted
100644 → 0
+
0
−
23
View file @
efe919ff
; RUN: llc < %s -mtriple thumbv7-linux -filetype=obj -o %t
; Two pass decoding needed because llvm-objdump does not respect mapping symbols
; RUN: llvm-objdump -triple thumbv7-linux -d %t | FileCheck --check-prefix=THUMB %s
; RUN: llvm-objdump -triple armv7-linux -d %t | FileCheck --check-prefix=ARM %s
; THUMB: foo:
; THUMB: a: 18 47 bx r3
; THUMB: 28: 70 47 bx lr
; ARM: foo:
; ARM: 10: 04 70 2d e5 str r7, [sp, #-4]!
define
void
@foo
(
i8
*
%start
,
i64
%size
)
{
entry:
%0
=
ptrtoint
i8
*
%start
to
i32
%conv
=
zext
i32
%0
to
i64
%add
=
add
i64
%conv
,
%size
%conv1
=
trunc
i64
%add
to
i32
%1
=
tail
call
i32
asm
sideeffect
"@ Enter ARM Mode \0A\09adr r3, 1f \0A\09bx r3 \0A\09.align 4 \0A\09.arm \0A1: push {r7} \0A\09mov r7, $4 \0A\09add r1, r2, r3 \0A\09pop {r7} \0A\09@ Enter THUMB Mode\0A\09adr r3, 2f+1 \0A\09bx r3 \0A\09.thumb \0A2: \0A\09"
,
"={r0},{r0},{r1},{r2},r,~{r3}"
(
i32
%0
,
i32
%conv1
,
i32
0
,
i32
254
)
ret
void
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment