diff options
author | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-03-04 21:23:29 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.kuperstein@gmail.com> | 2016-03-04 21:23:29 +0000 |
commit | b89f0fa2a2853e14a989d30bb8789b5815462d1a (patch) | |
tree | e140b30d513bb2c6f5fb77279fc243b33b612d56 /clang/lib/Driver/Driver.cpp | |
parent | 5d07531d0235f4ea8e497c2b11f4cbd9ab09680d (diff) | |
download | bcm5719-llvm-b89f0fa2a2853e14a989d30bb8789b5815462d1a.tar.gz bcm5719-llvm-b89f0fa2a2853e14a989d30bb8789b5815462d1a.zip |
[DAGCombine] Fix divrem combine not to assume div/rem type is simple.
The divrem combine assumed the type of the div/rem is simple, which isn't
necessarily true. This probably worked fine until r250825, since it only
saw legal types, but now breaks when it runs as a pre-type-legalization
combine.
This fixes PR26835.
Differential Revision: http://reviews.llvm.org/D17878
llvm-svn: 262746
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions