Previously we'd just silently skip these.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks OK to me, but I'd run it by someone familiar with back-end.
| lib/Target/NVPTX/NVPTXAsmPrinter.cpp | ||
|---|---|---|
| 808 | I'd make it an assert so we know if/when llvm.global_ctors mutates into something we can't deal with. | |
| lib/Target/NVPTX/NVPTXAsmPrinter.cpp | ||
|---|---|---|
| 808 | That was my inclination as well, but in AsmPrinter, this is not an error, so I'm not sure it should be one here. | |
Comment Actions
LGTM.
| lib/Target/NVPTX/NVPTXAsmPrinter.cpp | ||
|---|---|---|
| 808 | OK. We'll probably catch it when we generate something ptxas can't handle. | |
I'd make it an assert so we know if/when llvm.global_ctors mutates into something we can't deal with.