[all-commits] [llvm/llvm-project] 47eff6: [InstCombine] Bail out of load-store forwarding fo...

david-arm via All-commits all-commits at lists.llvm.org
Tue Feb 22 01:26:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47eff645d8e873ba531014751c1c06a716a367e9
      https://github.com/llvm/llvm-project/commit/47eff645d8e873ba531014751c1c06a716a367e9
  Author: David Sherwood <david.sherwood at arm.com>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstCombine/load-store-forward.ll

  Log Message:
  -----------
  [InstCombine] Bail out of load-store forwarding for scalable vector types

This patch fixes an invalid TypeSize->uint64_t implicit conversion in
FoldReinterpretLoadFromConst. If the size of the constant is scalable
we bail out of the optimisation for now.

Tests added here:

  Transforms/InstCombine/load-store-forward.ll

Differential Revision: https://reviews.llvm.org/D120240




More information about the All-commits mailing list