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
cb55e752
Commit
cb55e752
authored
13 years ago
by
Rafael Espindola
Browse files
Options
Downloads
Patches
Plain Diff
Test for the previous commit.
llvm-svn: 132884
parent
653a0720
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/X86/asm-label.ll
+40
-0
40 additions, 0 deletions
llvm/test/CodeGen/X86/asm-label.ll
with
40 additions
and
0 deletions
llvm/test/CodeGen/X86/asm-label.ll
0 → 100644
+
40
−
0
View file @
cb55e752
; RUN: llc -O0 < %s | FileCheck %s
; test that we print a label that we use. We had a bug where
; we would print the jump, but not the label because it was considered
; a fall through.
; CHECK: jmp LBB0_9
; CHECK: LBB0_9: ## %cleanup
define
void
@foo
()
{
entry:
br
i1
undef
,
label
%land.lhs.true
,
label
%if.end11
land.lhs.true:
; preds = %entry
br
i1
undef
,
label
%if.then
,
label
%if.end11
if.then:
; preds = %land.lhs.true
br
i1
undef
,
label
%if.then9
,
label
%if.end
if.then9:
; preds = %if.then
br
label
%cleanup
if.end:
; preds = %if.then
br
label
%cleanup
cleanup:
; preds = %if.end, %if.then9
switch
i32
undef
,
label
%unreachable
[
i32
0
,
label
%cleanup.cont
i32
1
,
label
%if.end11
]
cleanup.cont:
; preds = %cleanup
br
label
%if.end11
if.end11:
; preds = %cleanup.cont, %cleanup, %land.lhs.true, %entry
ret
void
unreachable:
; preds = %cleanup
unreachable
}
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