[all-commits] [llvm/llvm-project] da385e: [aarch64] Unguard GEPOpt from O3

Nathan Lanza via All-commits all-commits at lists.llvm.org
Mon Mar 25 15:08:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da385e82518618524d4efc56755662e982bfff68
      https://github.com/llvm/llvm-project/commit/da385e82518618524d4efc56755662e982bfff68
  Author: Nathan Lanza <nathanlanza at gmail.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64TargetMachine.cpp

  Log Message:
  -----------
  [aarch64] Unguard GEPOpt from O3

This chunk of code currently runs only if the optimization mode is O3
AND the EnableGEPOpt flag is set. Given that this is the only use case
for the EnableGEPOpt flag, the guarding against O3 is kinda pointless.
IF the user wants to enable it then the flag should be sufficient.

Reviewers: TNorthover, aeubanks

Reviewed By: aeubanks

Pull Request: https://github.com/llvm/llvm-project/pull/86588



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list