[PATCH] D41362: [AArch64][GlobalISel] Enable GlobalISel at -O0 by default

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 11:00:00 PST 2017


aemerson created this revision.
aemerson added reviewers: qcolombet, kristof.beyls, dsanders.
Herald added subscribers: javed.absar, rovka, rengolin.

Tests updated to explicitly use fast-isel at -O0 instead of implicitly.

We should properly fall back to selection-dag in the cases where we don't support some feature.

This change also allows an explicit -fast-isel option to override an implicitly enabled global-isel. Otherwise -fast-isel would have no effect at -O0.


Repository:
  rL LLVM

https://reviews.llvm.org/D41362

Files:
  lib/CodeGen/TargetPassConfig.cpp
  lib/Target/AArch64/AArch64TargetMachine.cpp
  test/CodeGen/AArch64/aarch64_f16_be.ll
  test/CodeGen/AArch64/and-mask-removal.ll
  test/CodeGen/AArch64/arm64-EXT-undef-mask.ll
  test/CodeGen/AArch64/arm64-abi.ll
  test/CodeGen/AArch64/arm64-abi_align.ll
  test/CodeGen/AArch64/arm64-elf-constpool.ll
  test/CodeGen/AArch64/arm64-elf-globals.ll
  test/CodeGen/AArch64/arm64-fast-isel-alloca.ll
  test/CodeGen/AArch64/arm64-fast-isel-br.ll
  test/CodeGen/AArch64/arm64-fast-isel-call.ll
  test/CodeGen/AArch64/arm64-fast-isel-conversion-fallback.ll
  test/CodeGen/AArch64/arm64-fast-isel-conversion.ll
  test/CodeGen/AArch64/arm64-fast-isel-fcmp.ll
  test/CodeGen/AArch64/arm64-fast-isel-gv.ll
  test/CodeGen/AArch64/arm64-fast-isel-icmp.ll
  test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll
  test/CodeGen/AArch64/arm64-fast-isel-materialize.ll
  test/CodeGen/AArch64/arm64-fast-isel-noconvert.ll
  test/CodeGen/AArch64/arm64-fast-isel-rem.ll
  test/CodeGen/AArch64/arm64-fast-isel-ret.ll
  test/CodeGen/AArch64/arm64-fast-isel.ll
  test/CodeGen/AArch64/arm64-simd-scalar-to-vector.ll
  test/CodeGen/AArch64/arm64-tls-dynamic-together.ll
  test/CodeGen/AArch64/arm64-vcvt_f.ll
  test/CodeGen/AArch64/br-cond-not-merge.ll
  test/CodeGen/AArch64/cmpxchg-O0.ll
  test/CodeGen/AArch64/cxx-tlscc.ll
  test/CodeGen/AArch64/fast-isel-atomic.ll
  test/CodeGen/AArch64/fast-isel-sp-adjust.ll
  test/CodeGen/AArch64/i128-fast-isel-fallback.ll
  test/CodeGen/AArch64/preferred-alignment.ll
  test/CodeGen/AArch64/swift-return.ll
  test/CodeGen/AArch64/swifterror.ll
  test/CodeGen/AArch64/swiftself.ll
  test/CodeGen/AArch64/tailcall-fastisel.ll
  test/DebugInfo/AArch64/asan-stack-vars.ll
  test/DebugInfo/AArch64/frameindices.ll
  test/DebugInfo/AArch64/line-header.ll
  test/DebugInfo/AArch64/prologue_end.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41362.127390.patch
Type: text/x-patch
Size: 26449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171218/3c00c703/attachment.bin>


More information about the llvm-commits mailing list