[PATCH] D135595: [HLSL] Add utility to convert environment to stage

Chris Bieneman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 09:38:15 PDT 2022


beanz added a comment.

Worth noting, we do have a similar set of static_asserts in Triple.cpp to validate the ordering of enum cases and that the subtraction results in the appropriate values:

https://github.com/llvm/llvm-project/blob/main/llvm/lib/Support/Triple.cpp#L1942


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135595/new/

https://reviews.llvm.org/D135595



More information about the cfe-commits mailing list