Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftshader
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
swiftshader
Commits
8c8f3bc1
Commit
8c8f3bc1
authored
Jul 21, 2015
by
Andrew Scull
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run adv-switch test when asm is allowed.
BUG= R=stichnot@chromium.org, jvoung@chromium.org Review URL:
https://codereview.chromium.org/1248823003
.
parent
97f460dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
adv-switch-opt.ll
tests_lit/llvm2ice_tests/adv-switch-opt.ll
+2
-2
No files found.
tests_lit/llvm2ice_tests/adv-switch-opt.ll
View file @
8c8f3bc1
; This tests the advanced lowering of switch statements. The advanced lowering
; uses jump tables, range tests and binary search.
; RUN: %
p2i -i %s --filetype=asm --assemble --disassemble --args --adv-switch
\
; RUN:
-O2 | FileCheck %s
; RUN: %
if --need=allow_dump --command %p2i -i %s --filetype=asm --assemble
\
; RUN:
--disassemble --args --adv-switch
-O2 | FileCheck %s
; Dense but non-continuous ranges should be converted into a jump table.
define
internal
i32
@testJumpTable
(
i32
%a
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment