[all-commits] [llvm/llvm-project] ea4652: Fix unused variable warning (NFC)

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Feb 3 19:38:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ea4652ebeb207823212a09772b14cb0a167895ac
      https://github.com/llvm/llvm-project/commit/ea4652ebeb207823212a09772b14cb0a167895ac
  Author: Mehdi Amini <joker-eph at gmail.com>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp

  Log Message:
  -----------
  Fix unused variable warning (NFC)

Use isa<> instead of dyn_cast<> when the result isn't used.




More information about the All-commits mailing list