[all-commits] [llvm/llvm-project] 7f1262: [EarlyCSE][ConstantFolding] do not constant fold a...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Aug 19 09:31:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f1262a322c0d80f34964004dbd3ebec58404a5f
      https://github.com/llvm/llvm-project/commit/7f1262a322c0d80f34964004dbd3ebec58404a5f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-08-19 (Fri, 19 Aug 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/EarlyCSE/atan.ll

  Log Message:
  -----------
  [EarlyCSE][ConstantFolding] do not constant fold atan2(+/-0.0, +/-0.0)

These may raise an error (set errno) as discussed in the post-commit
comments for D127964, so we can't fold away the call and potentially
alter that behavior.




More information about the All-commits mailing list