diff options
author | Alex Bradbury <asb@lowrisc.org> | 2018-02-03 11:56:11 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2018-02-03 11:56:11 +0000 |
commit | 3e1478f866e66d74e7314635aa49448e023b8d27 (patch) | |
tree | 07faf5002723c5c6325f7585badad487bc355c95 /clang/test/OpenMP/target_parallel_for_simd_codegen.cpp | |
parent | a43ba2d84f23e95b28fe22daafe7c056a20f8ba2 (diff) | |
download | bcm5719-llvm-3e1478f866e66d74e7314635aa49448e023b8d27.tar.gz bcm5719-llvm-3e1478f866e66d74e7314635aa49448e023b8d27.zip |
[RISCV] Create a LinuxTargetInfo when targeting Linux
Previously, RISCV32TargetInfo or RISCV64TargetInfo were created
unconditionally. Use LinuxTargetInfo<RISCV??TargetInfo> to ensure that the
proper OS-specific defines are present.
This patch only adds logic to instantiate LinuxTargetInfo and leaves a TODO,
as I'm reluctant to add logic for other targets (e.g. FreeBSD, RTEMS) until
I've produced and tested at least one binary for that OS+target combo.
Thanks to @mgrang to reporting the issue.
llvm-svn: 324170
Diffstat (limited to 'clang/test/OpenMP/target_parallel_for_simd_codegen.cpp')
0 files changed, 0 insertions, 0 deletions