diff options
author | Justin Lebar <jlebar@google.com> | 2016-04-01 01:09:07 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-04-01 01:09:07 +0000 |
commit | efcc81cbb4852faec3c0deb20e35225244c67fcb (patch) | |
tree | 523f824d063561e4417d931369b2bc7454304300 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 645c3014a12cc24b75556d93db2ecfa4b99f8635 (diff) | |
download | llvm-efcc81cbb4852faec3c0deb20e35225244c67fcb.zip llvm-efcc81cbb4852faec3c0deb20e35225244c67fcb.tar.gz llvm-efcc81cbb4852faec3c0deb20e35225244c67fcb.tar.bz2 |
[NVPTX] Read __CUDA_FTZ from module flags in NVVMReflect.
Summary:
Previously the NVVMReflect pass would read its configuration from
command-line flags or a static configuration given to the pass at
instantiation time.
This doesn't quite work for clang's use-case. It needs to pass a value
for __CUDA_FTZ down on a per-module basis. We use a module flag for
this, so the NVVMReflect pass needs to be updated to read said flag.
Reviewers: tra, rnk
Subscribers: cfe-commits, jholewinski
Differential Revision: http://reviews.llvm.org/D18672
llvm-svn: 265090
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions