[all-commits] [llvm/llvm-project] b1b7fb: [InstCombine] trunc (fptoui|fptosi)

Sam Parker via All-commits all-commits at lists.llvm.org
Tue Jan 24 01:16:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1b7fb6f20b056a7eb5731a98485f9d541c7aabe
      https://github.com/llvm/llvm-project/commit/b1b7fb6f20b056a7eb5731a98485f9d541c7aabe
  Author: Samuel Parker <sam.parker at arm.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/trunc-fp-to-int.ll

  Log Message:
  -----------
  [InstCombine] trunc (fptoui|fptosi)

Attempt to fold the trunc into the fp-to-int conversion.

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




More information about the All-commits mailing list