[all-commits] [llvm/llvm-project] 947374: [IRTranslator] Simplify fixed vector ConstantAggre...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 13 22:02:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 947374c3933b51f7f3acfe365d6ff9b10fb6cda0
      https://github.com/llvm/llvm-project/commit/947374c3933b51f7f3acfe365d6ff9b10fb6cda0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-13 (Fri, 13 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp

  Log Message:
  -----------
  [IRTranslator] Simplify fixed vector ConstantAggregateZero handling. NFC (#108667)

We don't need to loop through the elements, they're all the same zero.
We can get the first element and create a splat build_vector.



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