llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[HLSL 2018] logical operator semantics

Open llvm-beanz opened this issue 4 years ago • 2 comments

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

llvm-beanz avatar Apr 26 '22 13:04 llvm-beanz

Should be broken into additional items:

  1. Create and agree on an implementation spec
  2. Implement the spec

davidcook-msft avatar Dec 12 '23 19:12 davidcook-msft

Discussed in refinement. This is likely still relevant, but we don't need to do this until later in the project.

damyanp avatar Apr 23 '24 18:04 damyanp