[LLVMbugs] [Bug 19694] New: Mesa llvmpipe lp_test_conv regression

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 8 17:50:33 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19694

            Bug ID: 19694
           Summary: Mesa llvmpipe lp_test_conv regression
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: vlee at freedesktop.org
                CC: brian.e.paul at gmail.com, filcab at gmail.com,
                    jfonseca at vmware.com, llvmbugs at cs.uiuc.edu,
                    sroland at vmware.com
    Classification: Unclassified

$ ./build/darwin-x86_64-debug/bin/lp_test_conv
Cannot emit physreg copy instruction
UNREACHABLE executed at X86InstrInfo.cpp:3184!

(gdb) bt
#0  0x00007fff94952866 in __pthread_kill ()
#1  0x00007fff91ed335c in pthread_kill ()
#2  0x0000000100a30026 in abort ()
#3  0x0000000100a1efc1 in llvm::llvm_unreachable_internal ()
#4  0x0000000100178185 in llvm::X86InstrInfo::copyPhysReg ()
#5  0x0000000100414ffd in (anonymous
namespace)::ExpandPostRA::runOnMachineFunction ()
#6  0x000000010048f02c in llvm::MachineFunctionPass::runOnFunction ()
#7  0x00000001009bf8b9 in llvm::FPPassManager::runOnFunction ()
#8  0x00000001009bf0ae in llvm::legacy::FunctionPassManagerImpl::run ()
#9  0x00000001009bef86 in llvm::legacy::FunctionPassManager::run ()
#10 0x00000001003c1d13 in llvm::JIT::runJITOnFunctionUnlocked ()
#11 0x00000001003c1fbb in llvm::JIT::getPointerToFunction ()
#12 0x0000000100082bec in gallivm_jit_function (gallivm=0x101103e40,
func=0x10110dee0) at src/gallium/auxiliary/gallivm/lp_b$
#13 0x0000000100000f36 in test_one (verbose=0, fp=0x0, src_type={floating = 1,
fixed = 0, sign = 0, norm = 1, width = 32, le$
#14 0x0000000100001913 in test_some (verbose=0, fp=0x0, n=1000) at
src/gallium/drivers/llvmpipe/lp_test_conv.c:431
#15 0x000000010000333b in main (argc=1, argv=0x7fff5fbff5a0) at
src/gallium/drivers/llvmpipe/lp_test_main.c:411


b19c087aa7efac4bd11f0d49a5c37b09e1c4708e is the first bad commit
commit b19c087aa7efac4bd11f0d49a5c37b09e1c4708e
Author: Filipe Cabecinhas <me at filcab.net>
Date:   Thu May 8 00:25:16 2014 +0000

    Lower certain build_vectors to insertps instructions

    Summary:
    Vectors built with zeros and elements in the same order as another
    (source) vector are optimized to be built using a single insertps
    instruction.
    Also optimize when we move one element in a vector to a different place
    in that vector while zeroing out some of the other elements.

    Further optimizations are possible, described in TODO comments.
    I will be implementing at least some of them in the near future.

    Added some tests for different cases where this optimization triggers.

    Reviewers: nadav, delena, craig.topper

    Subscribers: llvm-commits

    Differential Revision: http://reviews.llvm.org/D3521

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

:040000 040000 f42f38be24c2a0f18d154d492616f179b5475a7e
63ffd59e12d5a1a5e84c2b8fe13076db411ec9b8 M    lib
:040000 040000 9be8fdf3579d75173f502e7567468a71eb117c6d
c697a61eb5601e30b873c00bff88ad71c825ca4a M    test
bisect run success

-- 
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/20140509/ebca3fd0/attachment.html>


More information about the llvm-bugs mailing list