[llvm-bugs] [Bug 28262] New: Assertion failed:"Operand types in binary constant expression should match"

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 22 05:56:11 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28262

            Bug ID: 28262
           Summary: Assertion failed:"Operand types in binary constant
                    expression should match"
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pierregousseau14 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16625
  --> https://llvm.org/bugs/attachment.cgi?id=16625&action=edit
reproducible source file

clang version 3.9.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\git\llvm\build\Debug\bin

SVN r273154 (20 June 2016).

$ clang -cc1 -std=c++11 "-triple" "x86_64-unknown-unknown" "-O2" -emit-llvm
reduced.cpp

Assertion failed: C1->getType() == C2->getType() && "Operand types in binary
constant expression should match", file C:\git\llvm\lib\IR\Constants.cpp, line
1740

The regression seems to have been caused by r270478.

The assertion is triggered during the loop unrolling phase.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160622/f5955014/attachment-0001.html>


More information about the llvm-bugs mailing list