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

llir / llvm / 808
63%

Build:
DEFAULT BRANCH: master
Ran 26 Nov 2018 12:00AM UTC
Jobs 2
Files 74
Run time 13s
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

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%)

71826.28 hits per line

Jobs
ID Job ID Ran Files Coverage
1 808.1 26 Nov 2018 12:00AM UTC 0
44.63
Travis Job 808.1
2 808.2 26 Nov 2018 12:00AM UTC 0
44.63
Travis Job 808.2
Source Files on build 808
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #808
  • 9b9b9240 on github
  • Prev Build on master (#807)
  • Next Build on master (#809)
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