[all-commits] [llvm/llvm-project] 76ba66: [InstCombine] Follow-up to "When -A + B both have ...

Z572 via All-commits all-commits at lists.llvm.org
Tue Nov 14 08:42:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76ba660688cb4b145d0d62d70a063a600b8aa667
      https://github.com/llvm/llvm-project/commit/76ba660688cb4b145d0d62d70a063a600b8aa667
  Author: Z572 <zhengjunjie at iscas.ac.cn>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

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

  Log Message:
  -----------
  [InstCombine] Follow-up to "When -A + B both have nsw flag, set nsw f… (#72282)

…lag."

In 3c037b7306f57039e24a1470687cc39a795584ac, Use cast instead of dyn_cast for cast that cannot fail.




More information about the All-commits mailing list