swiftlang/swift

[SR-342] Convert or add *.sil version of all *.swift tests in test/SILOptimizer and test/IRGen

Open

#42,964 opened on Dec 22, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (10,719 forks)batch import
bugcompilergood first issuenfc

Repository metrics

Stars
 (69,989 stars)
PR merge metrics
 (Avg merge 8d 17h) (510 merged PRs in 30d)

Description

Previous ID SR-342
Radar None
Original Reporter @gottesmm
Type Bug
Votes 0
Component/s Compiler
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: c67ceae294f0653e3d62193d939cc2e1

Issue Description:

Due to problems with the SILParser there are tests for the SILOptimizer and IRGen that were written as swift tests instead of *.sil tests.

Using *.swift tests allows for frontend changes to potentially cause a test to no longer test what it is supposed to test due to codegen changes.

This should expose additional bugs in the SILParser yielding further work.

Contributor guide