[PATCH] D124753: [HLSL] Set main as default entry.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 10:48:30 PDT 2022


Anastasia added inline comments.


================
Comment at: clang/test/CodeGenHLSL/entry_default.hlsl:1
+// RUN: %clang --driver-mode=dxc -Tcs_6_1 -fcgl -Fo - %s | FileCheck %s
+
----------------
Would it make sense to test the opposite i.e. if `-E` is passed in the command line `main` is not an entry point?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124753



More information about the cfe-commits mailing list