[all-commits] [llvm/llvm-project] ee9942: [AArch64] Revise a warning fix

kazutakahirata via All-commits all-commits at lists.llvm.org
Tue Dec 14 10:47:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee99426c770605bd3eacc0d908a9b30e7f61dab9
      https://github.com/llvm/llvm-project/commit/ee99426c770605bd3eacc0d908a9b30e7f61dab9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp

  Log Message:
  -----------
  [AArch64] Revise a warning fix

This patch revises the warning fix done in
a93b1792f1c8f7e2e7c931993110dc48f7ddba01.  Specifically, it rolls the
MRI.getType call into the assert, thereby avoiding the named variable.




More information about the All-commits mailing list