The patch fixes lowering of anonymous functions, removes file/linkage info for builtin call demangling, and adds relevant test demonstrating a fixed problem. This patch fixes several OpenCL CTS spirv_new subtests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Suggest format of lit tests as it is in existing ones.
llvm/test/CodeGen/SPIRV/function/internal-anonymous-function.ll | ||
---|---|---|
4–8 |
Comment Actions
Updated the patch with the following changes:
- Corrected formatting of the LIT test to match the style of other tests.
- Changed llvm_unreachable to report_fatal_error.
- Extracted some duplicate code into an util getFunctionGlobalIdentifier function.
- Added (for now) an assert masking sure the function passed into getFuncReg is not nullptr. Will rework some of this in the upcoming patch.
This should probably be report_fatal_error