[all-commits] [llvm/llvm-project] 23390e: [InstCombine] Handle logical and/or in assume opti...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 12 13:37:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23390e7a131a67fd70e26692fc83f62860dd1095
      https://github.com/llvm/llvm-project/commit/23390e7a131a67fd70e26692fc83f62860dd1095
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-01-12 (Tue, 12 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/assume.ll

  Log Message:
  -----------
  [InstCombine] Handle logical and/or in assume optimization

assume(a && b) can be converted to assume(a); assume(b) even if
the condition is logical. Same for assume(!(a || b)).




More information about the All-commits mailing list