[all-commits] [llvm/llvm-project] 21056a: [X86] Add test cases showing incorrect setting of ...

topperc via All-commits all-commits at lists.llvm.org
Wed Feb 26 18:11:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 21056a4ea025a5db85c076d0b35f981864999541
      https://github.com/llvm/llvm-project/commit/21056a4ea025a5db85c076d0b35f981864999541
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-02-26 (Wed, 26 Feb 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/fp-intrinsics-flags.ll

  Log Message:
  -----------
  [X86] Add test cases showing incorrect setting of nofpexcept flag due to CSE occuring during SelectionDAG creation.

These tests generate two nodes that are identical except for the
metadata that indicates their exception behavior. The nodes get
CSEd by SelectionDAG, but the nofpexcept flag is being set based
only on the fpexcept.ignore node being created last.

We need to detect this case and intersect the flags similar to
what is already done with fast math flags.




More information about the All-commits mailing list