[all-commits] [llvm/llvm-project] db26cd: [PowerPC] Improve f32 to i32 bitcast code gen

Conanap via All-commits all-commits at lists.llvm.org
Mon May 31 14:01:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db26cd30b6dd65e88d786e97a1e453af5cd48966
      https://github.com/llvm/llvm-project/commit/db26cd30b6dd65e88d786e97a1e453af5cd48966
  Author: Albion Fung <albion.fung at ibm.com>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    M llvm/test/CodeGen/PowerPC/aix-p9-xxinsertw-xxextractuw.ll
    M llvm/test/CodeGen/PowerPC/aix-vec_insert_elt.ll
    M llvm/test/CodeGen/PowerPC/bitcasts-direct-move.ll
    M llvm/test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll
    M llvm/test/CodeGen/PowerPC/scalar_vector_test_4.ll
    M llvm/test/CodeGen/PowerPC/vec_insert_elt.ll

  Log Message:
  -----------
  [PowerPC] Improve f32 to i32 bitcast code gen

The code gen for f32 to i32 bitcast is not currently the most efficient;
this patch removes some unneccessary instructions gerneated.

Differential revision: https://reviews.llvm.org/D100782




More information about the All-commits mailing list