diff options
author | Artem Tamazov <artem.tamazov@amd.com> | 2016-06-14 15:03:59 +0000 |
---|---|---|
committer | Artem Tamazov <artem.tamazov@amd.com> | 2016-06-14 15:03:59 +0000 |
commit | 17091364d13f2436eb63ec4df484d28fcb55d976 (patch) | |
tree | 54f422831fae2e4c4e0c03b6f78b7363ab1ca96e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | dfb66a11917be12253dfe7f95e15fa23bf31faae (diff) | |
download | llvm-17091364d13f2436eb63ec4df484d28fcb55d976.zip llvm-17091364d13f2436eb63ec4df484d28fcb55d976.tar.gz llvm-17091364d13f2436eb63ec4df484d28fcb55d976.tar.bz2 |
[AMDGPU][llvm-mc] Predefined symbols to access -mcpu from the assembly source (.option.machine_version...)
The feature allows for conditional assembly etc.
TODO: make those symbols read-only.
Test added.
Differential Revision: http://reviews.llvm.org/D21238
llvm-svn: 272673
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions