[all-commits] [llvm/llvm-project] 14d0d1: [InstCombine] Fixed select + masked load fold failure

DylanFleming-arm via All-commits all-commits at lists.llvm.org
Fri Aug 6 12:41:43 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 14d0d1f0985c93cbc830332cbeb99247eaf01f68
      https://github.com/llvm/llvm-project/commit/14d0d1f0985c93cbc830332cbeb99247eaf01f68
  Author: Dylan Fleming <Dylan.Fleming at arm.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select-masked_load.ll

  Log Message:
  -----------
  [InstCombine] Fixed select + masked load fold failure

Fixed type assertion failure caused by trying to fold a masked load with a
select where the select condition is a scalar value

Reviewed By: sdesmalen, lebedev.ri

Differential Revision: https://reviews.llvm.org/D107372

(cherry picked from commit 3943a74666cbe718b74e06092ce3b4c20e85fde1)




More information about the All-commits mailing list