[PATCH] D13732: Combining DIV+REM->DIVREM doesn't belong in LegalizeDAG; move it over into DAGCombiner.

A. Skrobov via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 10:31:31 PDT 2015


tyomitch created this revision.
tyomitch added reviewers: sunfish, RKSimon, eli.friedman.
tyomitch added a subscriber: llvm-commits.

As DIVREM nodes now appear at a different time, this patch breaks a few tests.
The two following patches fix them.
I'm going to commit the three as a single patch, but I'm splitting them out for ease of reviewing.

http://reviews.llvm.org/D13732

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13732.37364.patch
Type: text/x-patch
Size: 8877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151014/3c10d4a6/attachment.bin>


More information about the llvm-commits mailing list