[Mesa-dev] [Bug 29407] New: llvm 2.8 asserts: "Tried to create an integer operation on a non-integer type!"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 5 07:12:59 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29407

           Summary: llvm 2.8 asserts: "Tried to create an integer
                    operation on a non-integer type!"
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: nobled at dreamwidth.org


mesa git: 48268e0f2a5e65b63586398db3a58523a8c7a7a0
LLVM svn: r110299

When linking with the latest LLVM trunk compiled in Debug mode, Mesa triggers
this assert:
lp_test_blend: ../llvm-2.8svn/lib/VMCore/Instructions.cpp:1609: void
llvm::BinaryOperator::init(llvm::Instruction::BinaryOps): Assertion
`getType()->isIntOrIntVectorTy() && "Tried to create an integer operation on a
non-integer type!"' failed.

lp_test_blend, lp_test_conv, and lp_test_format all trigger it from completely
different places in gallivm. The problem is apparently using stuff like
LLVMBuildMul (an integer-only function) when it should be LLVMBuildFMul.

FMul, FSub, and FAdd were added in LLVM 2.6, btw:
http://llvm.org/releases/2.6/docs/ReleaseNotes.html

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list