llvm-project
llvm-project copied to clipboard
[HLSL 2018] logical operator semantics
In HLSL 2018 and earlier logical operators do not short circuit, and are allowed to operate on vector types.
May be pushed once DirectML upgrades to HLSL 2021
Impacts: Codegen Control flow based analysis needs updated
AC: Implementation spec is agreed upon Upstream clang implements operator short-circuiting Updated test coverage validating that operator short-circuiting
Should be broken into additional items:
- Create and agree on an implementation spec
- Implement the spec
Discussed in refinement. This is likely still relevant, but we don't need to do this until later in the project.