<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - SLP vectorizer bug"
   href="http://llvm.org/bugs/show_bug.cgi?id=16571">16571</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SLP vectorizer bug
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>eugeny.grishul@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10840" name="attach_10840" title="test case">attachment 10840</a> <a href="attachment.cgi?id=10840&action=edit" title="test case">[details]</a></span>
test case

Tested on ToT(r185912), Win7 x64, debug build of opt.exe

opt bugpoint-reduced-simplified.ll -slp-vectorizer >
bugpoint-reduced-simplified-opt.bc

; ModuleID = 'bugpoint-reduced-simplified.bc'
target datalayout =
"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32"
target triple = "i686-pc-win32"

; Function Attrs: nounwind
define hidden fastcc void
@"System.PrimitiveTypesParser.TryParseIEEE754<char>(char*,uint,double&)"()
unnamed_addr #0 {
"@0":
  br i1 undef, label %"@38.lr.ph", label %"@37"

"@37":                                            ; preds = %"@38.lr.ph",
%"@44", %"@0"
  ret void

"@44":                                            ; preds = %"@38.lr.ph"
  %0 = add i64 undef, undef
  %1 = add i32 %mainPartDigits.loc.0.ph45, 1
  br i1 undef, label %"@38.lr.ph", label %"@37"

"@38.lr.ph":                                      ; preds = %"@44", %"@0"
  %mainDoublePart.loc.0.ph46 = phi i64 [ %0, %"@44" ], [ 0, %"@0" ]
  %mainPartDigits.loc.0.ph45 = phi i32 [ %1, %"@44" ], [ 0, %"@0" ]
  br i1 undef, label %"@44", label %"@37"
}

attributes #0 = { nounwind }
; ModuleID = 'bugpoint-reduced-simplified.bc'



Stack dump:
0.      Program arguments: ..\External\llvmbin\bin\debug\opt
bugpoint-reduced-simplified.ll -slp-vectorizer
1.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2.      Running pass 'SLP Vectorizer' on function
'@"System.PrimitiveTypesParser.TryParseIEEE754<char>(char*,uint,double&)"'
0x0121D391 (0x00F64934 0x00B5EA70 0x01F5FE07 0x00B5EEBC),
llvm::Type::getContext() + 0x11 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\include\llvm\ir\type.h, line 128 + 0x11
byte(s)
0x01F5E9B9 (0x00B5EEBC 0xFFFFFFFD 0xCCCCCCCC 0xCCCCCCCC),
llvm::Value::getContext() + 0x19 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\value.cpp, line 480 + 0x19
byte(s)
0x01F5FE07 (0x00B5EEA4 0x00B5EA90 0x0187EBA5 0x00000000),
llvm::ValueHandleBase::AddToUseList() + 0x67 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\value.cpp, line 515 + 0x12
byte(s)
0x014B8E5A (0x00000000 0x00F64934 0x00B5EEA4 0x00B5EAA4),
llvm::ValueHandleBase::ValueHandleBase() + 0x5A bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\include\llvm\support\valuehandle.h,
line 72
0x0187EBA5 (0x00F64934 0x00F64934 0x00B5EEA0 0x00B5EEBC),
llvm::AssertingVH<llvm::Instruction>::AssertingVH<llvm::Instruction>() + 0x25
bytes(s), e:\bamelg\nbamelgcompiler\external\llvm\include\llvm\s
upport\valuehandle.h, line 214 + 0x25 byte(s)
0x0188001E (0x00B5F320 0x00B5EFD0 0xFFFFFFFD 0xCCCCCCCC), `anonymous
namespace'::BuilderLocGuard::BuilderLocGuard() + 0x3E bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vectorize\sl
pvectorizer.cpp, line 61 + 0x3E byte(s)
0x0187637D (0x00F869C0 0x00B5F008 0xFFFFFFFD 0xCCCCCCCC), `anonymous
namespace'::BoUpSLP::vectorizeTree() + 0x3D bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vectorize\slpvectorize
r.cpp, line 1033
0x0187338C (0x00B5F0E4 0x00B5F364 0x00000002 0x00000002), `anonymous
namespace'::BoUpSLP::vectorizeTree() + 0x5C bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vectorize\slpvectorize
r.cpp, line 1224
0x01878326 (0x00B5F06C 0x00000002 0x00B5F1B4 0x00000001), `anonymous
namespace'::SLPVectorizer::tryToVectorizeList() + 0x246 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vectorize\
slpvectorizer.cpp, line 1661
0x01878A2C (0x00F65328 0x00B5F1B4 0x00B5F3C4 0x00000000), `anonymous
namespace'::SLPVectorizer::vectorizeChainsInBlock() + 0x38C bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vector
ize\slpvectorizer.cpp, line 1766 + 0x23 byte(s)
0x0188A8AA (0x00F71BA8 0x00B5F4BC 0x00B5F400 0x00000000), `anonymous
namespace'::SLPVectorizer::runOnFunction() + 0x1BA bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\transforms\vectorize\slpve
ctorizer.cpp, line 1421 + 0x1A byte(s)
0x01F68F65 (0x00F71BA8 0x00000000 0xCCCCCCCC 0x00F4FDB8),
llvm::FPPassManager::runOnFunction() + 0x105 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\passmanager.cpp, line 1530 +
0x17 byte(s
)
0x01F690F5 (0x00F4FDE0 0x00B5F8D0 0x00B5F4C8 0x00000000),
llvm::FPPassManager::runOnModule() + 0x75 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\passmanager.cpp, line 1550 +
0x15 byte(s)
0x01F6A559 (0x00F4FDE0 0x00B5F50C 0x7EFDE000 0xCCCCCCCC),
llvm::MPPassManager::runOnModule() + 0x1C9 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\passmanager.cpp, line 1608 +
0x17 byte(s)
0x01F6AB71 (0x00F4FDE0 0x00B5F704 0x00B5F8D0 0x011AFEF3),
llvm::PassManagerImpl::run() + 0x101 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\passmanager.cpp, line 1703 +
0x1B byte(s)
0x01F6959D (0x00F4FDE0 0x00000000 0x00000000 0xCCCCCCCC),
llvm::PassManager::run() + 0x1D bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\passmanager.cpp, line 1739
0x011AFEF3 (0x00000003 0x00F4A738 0x00F4B780 0xEA6334A5), main() + 0x14E3
bytes(s), e:\bamelg\nbamelgcompiler\external\llvm\tools\opt\opt.cpp, line 829
0x021E2A99 (0x00B5F934 0x772033AA 0x7EFDE000 0x00B5F974), __tmainCRTStartup() +
0x199 bytes(s), f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c, line 536 +
0x19 byte(s)
0x021E2BDD (0x7EFDE000 0x00B5F974 0x77DB9EF2 0x7EFDE000), mainCRTStartup() +
0xD bytes(s), f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c, line 377
0x772033AA (0x7EFDE000 0x76D103CC 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0x12 bytes(s)
0x77DB9EF2 (0x021E2BD0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x63 bytes(s)
0x77DB9EC5 (0x021E2BD0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x36 bytes(s)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>