[llvm-bugs] [Bug 33721] New: Assertion since [PatternMatch] Implement m_One and m_AllOnes using Constant::isOneValue/isAllOnesValue instead of doing our own splat detection and checking the resulting APInt.

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 8 15:39:38 PDT 2017


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

            Bug ID: 33721
           Summary: Assertion since [PatternMatch] Implement m_One and
                    m_AllOnes using Constant::isOneValue/isAllOnesValue
                    instead of doing our own splat detection and checking
                    the resulting APInt.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: adf.lists at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18767
  --> https://bugs.llvm.org/attachment.cgi?id=18767&action=edit
xz of R600_DEBUG=vs,ps,fs

The game Unreal Touurnament (alpha) asserts AMDGPU since commit 

commit caa219e9a883606c37f8e75ef025e5b1e24a3259
Author: Craig Topper <craig.topper at intel.com>
Date:   Fri Jul 7 19:56:20 2017 +0000

    [PatternMatch] Implement m_One and m_AllOnes using
Constant::isOneValue/isAllOnesValue instead of doing our own splat detection
and checking the resulting APInt.

    Should result in less compiled code.

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307431
91177308-0d34-0410-b5e6-96231b3b80d8

UE4-Linux-Shipping: /mnt/sdb1/Gits/llvm/lib/IR/Instructions.cpp:3155:
llvm::SExtInst::SExtInst(llvm::Value*, llvm::Type*, const llvm::Twine&,
llvm::Instruction*): Assertion `castIsValid(getOpcode(), S, Ty) && "Illegal
SExt"' failed.

xz of R600_DEBUG=vs,ps,fs attached.

-- 
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/20170708/1997661f/attachment-0001.html>


More information about the llvm-bugs mailing list