commit | c85900f4d6aec17ef29140bfc97977463ac75cb2 | [log] [tgz] |
---|---|---|
author | Akira Hatanaka <ahatanaka@mips.com> | Wed Nov 30 19:31:38 2011 +0000 |
committer | Akira Hatanaka <ahatanaka@mips.com> | Wed Nov 30 19:31:38 2011 +0000 |
tree | 6eb244c883751859b812d7f03a87242d39549256 | |
parent | 90735f717de5d5dfe6a6f5f543b0daedff94bc1a [diff] |
Get the -march argument based on the target MIPS architecture or cpu and pass it to GNU assembler. In addition, change function getMipsArchFromCPU() so that it can be reused in ConstructJob(). Patch by Simon Atanasyan. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145509 91177308-0d34-0410-b5e6-96231b3b80d8