aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-08-10 19:12:37 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-08-10 19:12:37 +0000
commit8d48c8c6753ac4f9239bd1b75d0dcbfde68c0079 (patch)
treed15a36753df0f1800a591d49f6d7eea1d26e5be6 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent01c0d4ec1f6ac1672f5bce0981acd740e54150f7 (diff)
downloadllvm-8d48c8c6753ac4f9239bd1b75d0dcbfde68c0079.zip
llvm-8d48c8c6753ac4f9239bd1b75d0dcbfde68c0079.tar.gz
llvm-8d48c8c6753ac4f9239bd1b75d0dcbfde68c0079.tar.bz2
Frontend: define _LP64 in a target-independent way
Instead of adding it to each individual subclass in Targets.cpp, simply check the appropriate target values. Where before it was only on x86_64 and ppc64, it's now also defined on mips64 and nvptx64. Also add a bunch of negative tests to ensure it is *not* defined on any other architectures while we're here. llvm-svn: 161685
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions