[all-commits] [llvm/llvm-project] 9b5de8: [InstCombine] Use IRBuilder to create bitcast

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Mar 4 09:30:15 PST 2020


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/icmp-xor-signbit.ll

  Log Message:
  -----------
  [InstCombine] Use IRBuilder to create bitcast

This makes sure that the constant expression bitcast goes through
target-dependent constant folding, and thus avoids an additional
iteration of InstCombine.




More information about the All-commits mailing list