aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2018-09-27 05:04:50 +0000
committerSimon Atanasyan <simon@atanasyan.com>2018-09-27 05:04:50 +0000
commit0c0fb4b76559db8ba4c6dff9599300b0cc5fe3fe (patch)
treeeb6af55d21ba6f63ff9e90d6ed6192dfb7e23ad1 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parentb441be0924a32d37ba7213cbe3235690d2feaf26 (diff)
downloadllvm-0c0fb4b76559db8ba4c6dff9599300b0cc5fe3fe.zip
llvm-0c0fb4b76559db8ba4c6dff9599300b0cc5fe3fe.tar.gz
llvm-0c0fb4b76559db8ba4c6dff9599300b0cc5fe3fe.tar.bz2
[driver][mips] Adjust target triple accordingly to provided ABI name
Explicitly selected MIPS ABI using the `-mabi` option implies corresponding target triple. For 'O32' ABI it's a 32-bit target triple like `mips-linux-gnu`. For 'N32' and 'N64' ABIs it's a 64-bit target triple like `mips64-linux-gnu`. This patch adjusts target triple accordingly these rules like we do for pseudo-target flags '-m64', '-m32' etc already. Differential revision: https://reviews.llvm.org/D52290 llvm-svn: 343169
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions