[all-commits] [llvm/llvm-project] eceb24: [RISCV] Hoist immediate addresses from loads/store...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Mar 5 22:42:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eceb24c439b7a0ae5545ae2f6279e6f36e0b627e
      https://github.com/llvm/llvm-project/commit/eceb24c439b7a0ae5545ae2f6279e6f36e0b627e
  Author: Visoiu Mistrih Francis <890283+francisvm at users.noreply.github.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Transforms/ConstantHoisting/RISCV/immediates.ll

  Log Message:
  -----------
  [RISCV] Hoist immediate addresses from loads/stores (#83644)

In case of loads/stores from an immediate address, avoid rematerializing
the constant for every block and allow consthoist to hoist it to the
entry block.



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