[PATCH] D70226: Add an option to disable strict float node mutating to an normal float node

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 14 02:40:30 PST 2019


LiuChen3 created this revision.
LiuChen3 added reviewers: craig.topper, pengfei, uweigand, RKSimon.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.

This patch add an option 'disable-strictnode-mutation' to prevent strict node mutating to an normal node. 
So we can make sure that the patch which sets strict-node as legal works correctly.

Because for now X86 backend do not have these tests which strict node are legal, so I only add this option 
to systemZ tests to see if this option works. There are some tests fail on SystemZ and I simply transferred 
thoses testcases which operations are not legal  to a new file.


https://reviews.llvm.org/D70226

Files:
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  llvm/test/CodeGen/SystemZ/fp-strict-add-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-add-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-add-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-add-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-alias.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-09.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-11.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-14.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-15.ll
  llvm/test/CodeGen/SystemZ/fp-strict-conv-16.ll
  llvm/test/CodeGen/SystemZ/fp-strict-div-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-div-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-div-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-div-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-05.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-06.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-07.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-08.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-09.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-10.ll
  llvm/test/CodeGen/SystemZ/fp-strict-mul-11.ll
  llvm/test/CodeGen/SystemZ/fp-strict-round-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-round-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-round-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-round-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sqrt-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sqrt-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sqrt-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sqrt-04.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sub-01.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sub-02.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sub-03.ll
  llvm/test/CodeGen/SystemZ/fp-strict-sub-04.ll
  llvm/test/CodeGen/SystemZ/vec-strict-add-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-add-02.ll
  llvm/test/CodeGen/SystemZ/vec-strict-conv-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-conv-03.ll
  llvm/test/CodeGen/SystemZ/vec-strict-div-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-div-02.ll
  llvm/test/CodeGen/SystemZ/vec-strict-max-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-min-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-mul-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-mul-02.ll
  llvm/test/CodeGen/SystemZ/vec-strict-mul-03.ll
  llvm/test/CodeGen/SystemZ/vec-strict-mul-04.ll
  llvm/test/CodeGen/SystemZ/vec-strict-mul-05.ll
  llvm/test/CodeGen/SystemZ/vec-strict-round-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-round-02.ll
  llvm/test/CodeGen/SystemZ/vec-strict-sqrt-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-sqrt-02.ll
  llvm/test/CodeGen/SystemZ/vec-strict-sub-01.ll
  llvm/test/CodeGen/SystemZ/vec-strict-sub-02.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70226.229250.patch
Type: text/x-patch
Size: 55114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191114/adacba49/attachment.bin>


More information about the llvm-commits mailing list