<html>
    <head>
      <base href="https://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 --- - Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!" after r260711"
   href="https://llvm.org/bugs/show_bug.cgi?id=28879">28879</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!" after r260711
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>Scalar Optimizations
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>Wolfgang_Pieb@playstation.sony.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>; Running opt -gvn on the following module causes an assertion after 
; r260711. Probably something to do with vector sizes < 1 byte.

; ModuleID = 'bugpoint-reduced-simplified.bc'

; Function Attrs: norecurse noreturn nounwind
define void @autogen_SD106151532() #0 {
BB:
  %A4 = alloca <7 x i1>, align 2
  store <7 x i1> undef, <7 x i1>* %A4, align 2
  br label %CF829.preheader.split62

CF829.preheader.split62:                          ; preds = %BB
  %0 = getelementptr inbounds <7 x i1>, <7 x i1>* %A4, i64 0, i64 0
  %A4.0.A4.0.L865961 = load i1, i1* %0, align 2
  br i1 %A4.0.A4.0.L865961, label %CF871.us.preheader, label %CF829.preheader

CF829.preheader:                                  ; preds =
%CF829.preheader.split62
  unreachable

CF871.us.preheader:                               ; preds =
%CF829.preheader.split62
  unreachable
}

attributes #0 = { noreturn nounwind }

opt: /home/user/src/llvm/trunk/llvm/lib/IR/Constants.cpp:1533: static
llvm::Constant* llvm::ConstantExpr::getCast(unsigned int, llvm::Constant*,
llvm::Type*, bool): Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid
constantexpr cast!"' failed.</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>