[all-commits] [llvm/llvm-project] e8425b: [PowerPC] add store (load float*) pattern to isPro...

Chen Zheng via All-commits all-commits at lists.llvm.org
Tue Jul 21 17:55:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e8425b27fec355192c0ee82c4dd82874d7b10591
      https://github.com/llvm/llvm-project/commit/e8425b27fec355192c0ee82c4dd82874d7b10591
  Author: Chen Zheng <czhengsz at cn.ibm.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/Transforms/SimplifyCFG/PowerPC/prefer-load-i32.ll

  Log Message:
  -----------
  [PowerPC] add store (load float*) pattern to isProfitableToHoist

store (load float*) can be optimized to store(load i32*) in InstCombine pass.

Add store (load float*) to isProfitableToHoist to make sure we don't break
the opt in InstCombine pass.

Reviewed By: jsji

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




More information about the All-commits mailing list