Added the ability to emit target-specific builtin assembler error
messages only in case if the function is really is going to be emitted
for the device.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Sema/SemaStmtAsm.cpp | ||
---|---|---|
256–263 ↗ | (On Diff #186860) | Now that inline asm errors are delayed, do we still need this check? |
lib/Sema/SemaStmtAsm.cpp | ||
---|---|---|
256–263 ↗ | (On Diff #186860) | With this patch, it is going to be delayed only for OpenMP. After the commit, we could extend it for CUDA and remove this code. But not at the moment. |
lib/Sema/SemaStmtAsm.cpp | ||
---|---|---|
256–263 ↗ | (On Diff #186860) | SGTM. |