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: unassignedclangb...@nondot.org
          Reporter: pierregoussea...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to