[llvm-bugs] [Bug 30602] New: clang-3.9 miscompiles glslang unit test when optimizing

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 3 15:11:31 PDT 2016


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

            Bug ID: 30602
           Summary: clang-3.9 miscompiles glslang unit test when
                    optimizing
           Product: new-bugs
           Version: 3.9
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jfroy at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

clang 3.9 miscompiles the hlsl.forLoop.frag test of the glslang project when
optmizations are enabled. I haven't isolated the specific pass that's causing a
problem, and as a newbie to the clang/llvm community this is kind of daunting.

See https://github.com/KhronosGroup/glslang/issues/511.

Steps to reproduce:
git clone https://github.com/KhronosGroup/glslang.git
cd glslang
git clone https://github.com/google/googletest.git External/googletest
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
cmake --build .
ctest

This is a regression from clang 3.8.

I'm happy to help gather more data to root cause this with some mentoring.

-- 
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/20161003/fb4b4636/attachment.html>


More information about the llvm-bugs mailing list