CodeGen: Eliminate a use of getDarwinMajorNumber().
authorDaniel Dunbar <daniel@zuster.org>
Tue, 19 Apr 2011 20:32:39 +0000 (20:32 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 19 Apr 2011 20:32:39 +0000 (20:32 +0000)
commitebc5066b9bcf1a3ead167613bb496b24f8c67f8b
treea6247e1e5e6c21eabe7da3b20b8df48b0e99ad57
parent4860fe0ad0447f8545bdbc1b327e82cb1ba41a51
CodeGen: Eliminate a use of getDarwinMajorNumber().
 - There is a minor semantic change here (evidenced by the test change) for
   Darwin triples that have no version component. I debated changing the default
   behavior of isOSVersionLT, but decided it made more sense for triples to be
   explicit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/ARM/align.ll