This avoids references to the variables be generated when using e.g. max().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM. Is this worth adding a constexpr unit test for? (I don't see any for the other static constexpr stuff in LLVMCore, so maybe not...)