Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Cannot select smul_lohi in XCore backend #11466

Closed Quuxplusone closed 12 years ago

Quuxplusone commented 12 years ago
Bugzilla Link PR11283
Status RESOLVED FIXED
Importance P normal
Reported by Richard Osborne (richard@xmos.com)
Reported on 2011-11-01 07:03:21 -0700
Last modified on 2011-11-07 11:49:23 -0800
Version trunk
Hardware PC Linux
CC richard@xmos.com
Fixed by commit(s)
Attachments bugpoint-reduced-simplified.ll (1069 bytes, application/octet-stream)
Blocks
Blocked by
See also
Created attachment 7563
bugpoint-reduced-simplified.ll

Running the attached .ll file with llc bugpoint-reduced-simplified.ll results
in the error:

LLVM ERROR: Cannot select: 0x23b6170: i32,i32 = smul_lohi 0x23b6470, 0x23b5770
[ID=16]
  0x23b6470: i32 = and 0x23b5e70, 0x23b8730 [ID=14]
    0x23b5e70: i32 = or 0x23b5c70, 0x23b5d70 [ORD=4] [ID=13]
      0x23b5c70: i32 = and 0x23b5a70, 0x23b5b70 [ORD=3] [ID=12]
        0x23b5a70: i32,ch = load 0x2398758, 0x23b6070, 0x23b5970<LD4[getelementptr inbounds (<{ i32 }>* @bit, i32 0, i32 0)]> [ORD=2] [ID=11]
          0x23b6070: i32 = XCoreISD::DPRelativeWrapper 0x23b8830 [ID=10]
            0x23b8830: i32 = TargetGlobalAddress<%struct.anon.0.35.36.37* @bit> 0 [ID=6]
          0x23b5970: i32 = undef [ORD=2] [ID=2]
        0x23b5b70: i32 = Constant<-16257> [ORD=3] [ID=3]
      0x23b5d70: i32 = Constant<16000> [ORD=4] [ID=4]
    0x23b8730: i32 = Constant<127> [ID=5]
  0x23b5770: i32 = Constant<1431655765> [ID=7]
Quuxplusone commented 12 years ago

Attached bugpoint-reduced-simplified.ll (1069 bytes, application/octet-stream): bugpoint-reduced-simplified.ll

Quuxplusone commented 12 years ago

Fixed in r143964

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20111107/131364.html