[all-commits] [llvm/llvm-project] 68b56e: [InstCombine] NFC: Add implied condition to block ...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Thu Feb 23 08:11:40 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68b56e3a74706b1a63a38b8f45c50b10c82ba640
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp

  Log Message:
  [InstCombine] NFC: Add implied condition to block in foldSelectInstWithICmp

Added the condition 'TrueVal->getType()->isIntOrIntVectorTy' to a block of code
in foldSelectInstWithICmp which is only valid if the TrueVal is integer type.

This change was split off from D136861.

More information about the All-commits mailing list