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

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 08:38:51 PST 2017


aemerson updated this revision to Diff 127892.
aemerson edited the summary of this revision.
aemerson added a comment.

Patch updated. I've changed the abort method to no longer be an override. It doesn't really make sense to override it since only the TPC implementation can access the CLI options, so overriding it wouldn't work anyway.

We already have enough information from the isGlobalISelEnabled() hook to determine whether we should abort.

For `aarch64-enable-global-isel-at-O` the isGlobalISelEnabled() hook will check that value and so the abort will be implicitly disabled via that hook with this patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D41362

Files:
  include/llvm/CodeGen/TargetPassConfig.h
  lib/CodeGen/TargetPassConfig.cpp
  lib/Target/AArch64/AArch64TargetMachine.cpp
  test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
  test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll
  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.127892.patch
Type: text/x-patch
Size: 29270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171221/3246b75d/attachment.bin>


More information about the llvm-commits mailing list