Ran
|
Jobs
1
|
Files
817
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
push
github
Fix handling of control flow instructions in convert_to_target() (#11877) (#11884) This commit fixes an issue in the convert_to_target() function where it wasn't looking for control flow instructions in the proper location. Typically the control flow instructions are put in the supported_instructions field of the BackendConfiguration, but the convert_to_target() function was ignoring this field. This commit updates the function to check supported_instructions for the control flow instructions. It doesn't more broadly look at the supported_instructions field, because on other backends this field is used to list the supported pulse instructions which might have name conflicts with other instructions and cause issues building a target. Fixes #11872 (cherry picked from commit 65ab96508) Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
3 of 3 new or added lines in 1 file covered. (100.0%)
10 existing lines in 2 files now uncovered.58907 of 65973 relevant lines covered (89.29%)
187429.44 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
4 |
91.69 |
-0.5% | crates/qasm2/src/lex.rs |
6 |
97.62 |
-0.46% | crates/qasm2/src/parse.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 8093898764.1 | 817 |
89.29 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|