summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2016-05-20 17:27:22 +0000
committerDimitry Andric <dimitry@andric.com>2016-05-20 17:27:22 +0000
commitc6d924cd068f2a49866e4d862517c9516e1a834b (patch)
tree24917fec6316a2b1875eb9d292c2a37b7ad3a591 /llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp
parentbe70933d3c12db14670ed086f26148917b9e993c (diff)
downloadbcm5719-llvm-c6d924cd068f2a49866e4d862517c9516e1a834b.tar.gz
bcm5719-llvm-c6d924cd068f2a49866e4d862517c9516e1a834b.zip
Make __FreeBSD_cc_version predefined macro configurable at build time
The `FreeBSDTargetInfo` class has always set the `__FreeBSD_cc_version` predefined macro to a rather static value, calculated from the major OS version. In the FreeBSD base system, we will start incrementing the value of this macro whenever we make any signifant change to clang, so we need a way to configure the macro's value at build time. Use `FREEBSD_CC_VERSION` for this, which we can define in the FreeBSD build system using either the `-D` command line option, or an include file. Stock builds will keep the earlier value. Differential Revision: http://reviews.llvm.org/D20037 llvm-svn: 270240
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud