[PATCH] D50659: [CodeGen] Fix remaining zext() assertions in SelectionDAG

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 13 12:06:01 PDT 2018


scott.linder created this revision.
scott.linder added reviewers: RKSimon, bogner, arsenm.
Herald added subscribers: llvm-commits, mgorny, wdng.

Includes remaining cases not committed in https://reviews.llvm.org/D49574

This introduces what appear to be the first unittests for SelectionDAG. Lit tests do not directly test the problem cases in these functions, so I think unittests are easier to write and audit here.


Repository:
  rL LLVM

https://reviews.llvm.org/D50659

Files:
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  lib/CodeGen/SelectionDAG/TargetLowering.cpp
  unittests/CodeGen/CMakeLists.txt
  unittests/CodeGen/SelectionDAGTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50659.160425.patch
Type: text/x-patch
Size: 8850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180813/70173a0d/attachment.bin>


More information about the llvm-commits mailing list