summaryrefslogtreecommitdiffstats
path: root/tools/slang-test/test-context.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2021-09-10 16:31:26 -0400
committerGitHub <noreply@github.com>2021-09-10 13:31:26 -0700
commit27ce5eb0de9f792f3e433bcb239c07d79371cf45 (patch)
treebb85155ceafd280a3931432141fc1cc1dae20959 /tools/slang-test/test-context.h
parent28adf8917e53953dbfebd746410a427a55eed814 (diff)
First Slang LLVM integration (#1934)
* #include an absolute path didn't work - because paths were taken to always be relative. * First integration with 'slang-llvm'. * Fix project. * Fix test output. * First pass assert support. * Add inline impls for min and max. * Add abs inline abs impl for llvm. * Make abs not use ternary op * Fix typo in slang-llvm.h * Sundary fixes to make remaining tests using llvm backend pass.
Diffstat (limited to 'tools/slang-test/test-context.h')
-rw-r--r--tools/slang-test/test-context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/slang-test/test-context.h b/tools/slang-test/test-context.h
index a4b92790b..67707028d 100644
--- a/tools/slang-test/test-context.h
+++ b/tools/slang-test/test-context.h
@@ -28,7 +28,8 @@ struct PassThroughFlag
GCC = 1 << int(SLANG_PASS_THROUGH_GCC),
Clang = 1 << int(SLANG_PASS_THROUGH_CLANG),
Generic_C_CPP = 1 << int(SLANG_PASS_THROUGH_GENERIC_C_CPP),
- NVRTC = 1 << int(SLANG_PASS_THROUGH_NVRTC)
+ NVRTC = 1 << int(SLANG_PASS_THROUGH_NVRTC),
+ LLVM = 1 << int(SLANG_PASS_THROUGH_LLVM),
};
};