[PATCH] D35168: [mips] Handle the `long-calls` feature flags in the MIPS backend

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 06:01:47 PDT 2017


sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.

LGTM with slight tweak and addition to test cases.



================
Comment at: test/CodeGen/Mips/long-calls.ll:9-12
+; RUN: llc -march=mips64 -mattr=-long-calls %s -o - \
+; RUN:   | FileCheck -check-prefix=OFF %s
+; RUN: llc -march=mips64 -mattr=+long-calls,+noabicalls %s -o - \
+; RUN:   | FileCheck -check-prefix=ON64 %s
----------------
Add -target-abi n64 to the lines here, and add  n32 runlines.


Repository:
  rL LLVM

https://reviews.llvm.org/D35168





More information about the llvm-commits mailing list