-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] instead
Description
| Bugzilla Link | 1304 |
| Resolution | FIXED |
| Resolved on | Feb 22, 2010 12:47 |
| Version | trunk |
| OS | All |
Extended Description
For this program:
$ cat b.ll
define i64 @bork(<2 x i64> %vec) {
entry:
%tmp = extractelement <2 x i64> %vec, i32 0
ret i64 %tmp
}
I get this abort:
$ llvm-as -f b.ll
$ opt -std-compile-opts -o a.bc -f b.bc
/Users/wendling/llvm/llvm.src/lib/Transforms/Scalar/InstructionCombining.cpp:1399: failed assertion
`DemandedElts != EltMask && (DemandedElts & ~EltMask) == 0 && "Invalid DemandedElts!"'
Abort trap
If it's more than 1 element in the vector, you get the failure reported in #1675 .
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillacompile-failUse [accepts-invalid] and [rejects-valid] insteadUse [accepts-invalid] and [rejects-valid] instead