• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

llir / llvm / 808 / 2
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 26 Nov 2018 12:00AM UTC
Files 74
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Nov 2018 11:49PM UTC coverage: 44.632%. Remained the same
808.2

push

travis-ci

mewmew
ir: fix Block.NewExtractValue not appending instruction to block

The same happend in NewInsertValue, NewExtractElement,
NewInsertElement and NewShuffleVector.

This issue was uncovered by the test cases of @zegl's tre, which
used the v0.2 version of block.NewExtractValue (which was
correctly implemented).

The test cases of tre using the `@string_len` function helped
uncover this regression.

```
=== RUN   TestAllPrograms/condition.go
/tmp/tre400936132/main.ll:38:10: error: use of undefined value '%0'
        ret i64 %0
                ^
```

```llvm
define i64 @string_len(%string %input) {
entry:
	ret i64 %0
}
```

```go
func StringLen(stringType types.Type) *ir.Function {
	param := ir.NewParam("input", stringType)
	res := ir.NewFunc("string_len", types.I64, param)
	block := res.NewBlock("entry")
	block.NewRet(block.NewExtractValue(param, 0))
	return res
}
```

4810 of 10777 relevant lines covered (44.63%)

35913.14 hits per line

Source Files on job 808.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 787
  • Travis Job 808.2
  • 9b9b9240 on github
  • Prev Job for on master (#807.2)
  • Next Job for on master (#809.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc