[all-commits] [llvm/llvm-project] c438b2: [DAG] GetDemandedBits - don't bother asserting for...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Jun 3 04:43:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c438b257f19cb4a8adbb8eb377f84b10052ea7c5
      https://github.com/llvm/llvm-project/commit/c438b257f19cb4a8adbb8eb377f84b10052ea7c5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [DAG] GetDemandedBits - don't bother asserting for a non-null cast<> result. NFC.

cast<> will assert on failure anyhow.

This lets us fold the cast<> with the getAPIntValue() that uses it.


  Commit: 8e058feae0b0d07cd86257f0aa3154acfa887fe0
      https://github.com/llvm/llvm-project/commit/8e058feae0b0d07cd86257f0aa3154acfa887fe0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp

  Log Message:
  -----------
  Fix gcc "enumeral and non-enumeral type in conditional expression" warning. NFCI.


Compare: https://github.com/llvm/llvm-project/compare/a2f32bfcc7cd...8e058feae0b0


More information about the All-commits mailing list