[all-commits] [llvm/llvm-project] 5d3a86: [GlobalISel] Move getOpcode() calls inside assert(...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Feb 7 01:50:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d3a86489f8ff09734c81398d5c29969113132d1
      https://github.com/llvm/llvm-project/commit/5d3a86489f8ff09734c81398d5c29969113132d1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

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

  Log Message:
  -----------
  [GlobalISel] Move getOpcode() calls inside assert() to avoid (void)s. NFC.

Tidier solution to the unused variable warnings - we already do this in other places in this file.




More information about the All-commits mailing list