[all-commits] [llvm/llvm-project] 98c54f: [X86] Directly emit a BROADCAST_LOAD from constant...

topperc via All-commits all-commits at lists.llvm.org
Tue Jan 14 10:53:28 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 98c54fb1feba081c509f7e389877550df130a80d
      https://github.com/llvm/llvm-project/commit/98c54fb1feba081c509f7e389877550df130a80d
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-01-14 (Tue, 14 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vec-strict-inttofp-256.ll
    M llvm/test/CodeGen/X86/vec_int_to_fp.ll
    M llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [X86] Directly emit a BROADCAST_LOAD from constant pool in lowerUINT_TO_FP_vXi32 to avoid double loads seen in D71971

By directly emitting the constants as a constant pool load we seem to avoid the build_vector/extract_subvector combines that resulted in the duplicate loads we had before.

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




More information about the All-commits mailing list