[all-commits] [llvm/llvm-project] a003f2: [llvm] Prevent infinite loop in InstCombine of sel...

Tres via All-commits all-commits at lists.llvm.org
Tue Jan 19 01:36:33 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a003f26539cf4db744655e76c41f4c4a8913f116
      https://github.com/llvm/llvm-project/commit/a003f26539cf4db744655e76c41f4c4a8913f116
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-01-19 (Tue, 19 Jan 2021)

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

  Log Message:
  -----------
  [llvm] Prevent infinite loop in InstCombine of select statements

This fixes an issue where the RHS and LHS the comparison operation
creating the predicate were swapped back and forth forever.

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




More information about the All-commits mailing list