Skip to content
Commit 495a1bc8 authored by Craig Topper's avatar Craig Topper
Browse files

[X86] Remove combine that turns X86ISD::LSUB into X86ISD::LADD. Update...

[X86] Remove combine that turns X86ISD::LSUB into X86ISD::LADD. Update patterns that depended on this.

If the carry flag is being used, this transformation isn't safe.

This does prevent some test cases from using DEC now, but I'll try to look into that separately.

Fixes PR35068.

llvm-svn: 316860
parent 7a60e291
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment