[X86] Return true from trySADReplacement in the partial reduction pass when a change...
authorCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2020 00:51:45 +0000 (17:51 -0700)
committerCraig Topper <craig.topper@gmail.com>
Thu, 14 May 2020 00:52:29 +0000 (17:52 -0700)
commitfa8c2ae76f7e4f498d29e2716233bd29025e8827
treed666f61092bbed9c0c72882fc99225afd8dd555b
parent6701993027f8af172d7ba697884459261b00e3c6
[X86] Return true from trySADReplacement in the partial reduction pass when a change is made.

Otherwise we don't signal to the pass manager that we changed IR.
llvm/lib/Target/X86/X86PartialReduction.cpp