Comments (6)
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_Error
s? 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.
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.
Hi Paul. I tested today and can't reproduce the issue anymore.
from llpc.
Sorry Paul. I was not aware that your issues relate to Debug build. I was testing with a Release build.
from llpc.
This issue is fixed and can be closed.
from llpc.
Appears to be fixed!
from llpc.
Related Issues (20)
- IR verification failures HOT 3
- Build options required for check-amdllpc appear to be undocumented HOT 5
- Code traceability strategies HOT 5
- Cleanup the pass pipeline HOT 2
- Make XFB query counter increment even if XFB output are not written to HOT 12
- Discussion about mesh shaders and GFX11 HOT 23
- Substitution of %gfxip in update_llpc_test_checks.py missing
- Redesign the processing of task payload HOT 1
- Warnings in debug support
- Refactor export built-ins via generic outputs
- Add LLVM assumptions for descriptor table size and alignment HOT 14
- Deprecate pre-GFX10 support in LLPC HOT 3
- PatchReadFirstLane breaks ballot code HOT 2
- [Tests] Re-enable test disabled in ffc49b2
- [Tests] Re-enable test disabled in f0436bb.
- [Tests] Re-enable tests disabled in 854b7b8ab1
- [Tests] Re-enable tests disabled 5db5dabbef
- [Tests] Re-enable tests disabled in 4d8954d9ec HOT 1
- [Tests] Re-enable test disabled in 82ef9665ff
- [Tests] Re-enable tests disabled in 0b156027cc
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llpc.