[all-commits] [llvm/llvm-project] 5c1096: [InstCombine] Don't replace musttail result based ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 20 02:17:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c10967157d11a489de544b51349d12cfb3fe7de
      https://github.com/llvm/llvm-project/commit/5c10967157d11a489de544b51349d12cfb3fe7de
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    A llvm/test/Transforms/InstCombine/call-returned.ll

  Log Message:
  -----------
  [InstCombine] Don't replace musttail result based on known bits

This is the same change as D75824, but for two cases where
InstCombine performs the same optimization: Replacing an instruction
whose bits are fully known with a constant. This is not (generally)
legal for musttail calls.

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




More information about the All-commits mailing list