Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The variable STI is only used in assert, so there will be 'used variable' warnings when doing release build.
llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp | ||
---|---|---|
1221–1222 | I kinda like assert(expression && ....);, since it prints the asserted expression - maybe we can use the void-casting trick we already have for "pseudo expand limit reached"? Say: assert(STI. && ...); (void)STI; |
I kinda like assert(expression && ....);, since it prints the asserted expression - maybe we can use the void-casting trick we already have for "pseudo expand limit reached"?
Say: