Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

sroa produces a getelementptr inbounds ..., i32 53687091 #14138

Closed Quuxplusone closed 12 years ago

Quuxplusone commented 12 years ago
Bugzilla Link PR14105
Status RESOLVED FIXED
Importance P enhancement
Reported by Rafael Ávila de Espíndola (rafael@espindo.la)
Reported on 2012-10-17 00:18:43 -0700
Last modified on 2012-10-17 04:24:11 -0700
Version trunk
Hardware PC Linux
CC chandlerc@gmail.com, geek4civic@gmail.com, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments jsproxy-t1.ll (1389 bytes, application/octet-stream)
Blocks
Blocked by
See also
Created attachment 9361
testcase

Running "opt -S -sroa  jsproxy-t1.ll" produces an IL that looks invalid:

 getelementptr inbounds %class.Value* %tmp5, i32 536870911, i32 0, i32 0, i32 0
Quuxplusone commented 12 years ago

Attached jsproxy-t1.ll (1389 bytes, application/octet-stream): testcase

Quuxplusone commented 12 years ago

Doh! Fixed in r166095. Thanks for the simply fantastic test case here. =]