GithubHelp home page GithubHelp logo

Comments (6)

kuhar avatar kuhar commented on July 30, 2024

This fails in llpcCompiler.cpp:220:

class LlpcDiagnosticHandler : public llvm::DiagnosticHandler
{
    bool handleDiagnostics(const DiagnosticInfo& diagInfo) override
    {
        if (EnableOuts() || EnableErrs())
        {
            if ((diagInfo.getSeverity() == DS_Error) || (diagInfo.getSeverity() == DS_Warning))
            {
                DiagnosticPrinterRawOStream printStream(outs());
                printStream << "ERROR: LLVM DIAGNOSIS INFO: ";
                diagInfo.print(printStream);
                printStream << "\n";
                outs().flush();
            }
           ...
        }
==>     LLPC_ASSERT(diagInfo.getSeverity() != DS_Error);
        return true;
    }
};

With the error message: unsupported dynamic alloca.
Not sure what the intention was here -- perhaps to emit diagnostics and terminate on DS_Errors? In that case, I'd expect to see something like llvm::report_fatal_error used instead of the assertion.

Similar applies to issue #214.

from llpc.

linqun avatar linqun commented on July 30, 2024

please check whether there are some alloca in the middle of function. if yes, please try to find which pass add it and try to move it to the begin of function.

from llpc.

MarcinKantochAMD avatar MarcinKantochAMD commented on July 30, 2024

Hi Paul. I tested today and can't reproduce the issue anymore.

from llpc.

MarcinKantochAMD avatar MarcinKantochAMD commented on July 30, 2024

Sorry Paul. I was not aware that your issues relate to Debug build. I was testing with a Release build.

from llpc.

kuhar avatar kuhar commented on July 30, 2024

This issue is fixed and can be closed.

from llpc.

paulthomson avatar paulthomson commented on July 30, 2024

Appears to be fixed!

from llpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.