[PATCH] D88370: Emit predefined macro for wavefront size for amdgcn

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 30 06:22:23 PDT 2020


arsenm added inline comments.


================
Comment at: clang/test/Driver/amdgpu-macros.cl:380-381
+// RUN:   -mno-wavefrontsize64 %s 2>&1 | FileCheck --check-prefixes=WAVE64 %s
+// RUN: %clang -E -dM -target amdgcn -mcpu=gfx1010 -mwavefrontsize64 \
+// RUN:   -mno-wavefrontsize64 %s 2>&1 | FileCheck --check-prefixes=WAVE32 %s
+// WAVE64-DAG: #define __AMDGCN_WAVEFRONT_SIZE 64
----------------
Can you also check with the flags reversed, -mno-wavefrontsize64 -mwavefrontsize64 


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

https://reviews.llvm.org/D88370



More information about the cfe-commits mailing list