diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-04-19 20:32:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-04-19 20:32:39 +0000 |
commit | 4a7783b0c239d4c78e674416670bf4f43d4dbc7c (patch) | |
tree | d2595c327e93254ea93786f1faed635c639a2c96 /llvm/test/CodeGen | |
parent | 0b654f4299e4460ee15511e0a1d8bcfeb4f67c63 (diff) | |
download | bcm5719-llvm-4a7783b0c239d4c78e674416670bf4f43d4dbc7c.tar.gz bcm5719-llvm-4a7783b0c239d4c78e674416670bf4f43d4dbc7c.zip |
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.
llvm-svn: 129802
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r-- | llvm/test/CodeGen/ARM/align.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/align.ll b/llvm/test/CodeGen/ARM/align.ll index d57c159b85c..9589e72df2f 100644 --- a/llvm/test/CodeGen/ARM/align.ll +++ b/llvm/test/CodeGen/ARM/align.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=ELF -; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN +; RUN: llc < %s -mtriple=arm-apple-darwin10 | FileCheck %s -check-prefix=DARWIN @a = global i1 true ; no alignment |