Revert "Reapply "[CGP] Check for existing inttotpr before creating new one""
authorDavid L. Jones <dlj@google.com>
Thu, 31 Jan 2019 03:28:46 +0000 (03:28 +0000)
committerDavid L. Jones <dlj@google.com>
Thu, 31 Jan 2019 03:28:46 +0000 (03:28 +0000)
commitd81f23071c8e6e31cd54486fb0b0372957ff5fa9
tree5d74bd7d47707eb2429b83a88b836a07d58bbee2
parent7e0219d979e52dd6795e4187f313c76d23599123
Revert "Reapply "[CGP] Check for existing inttotpr before creating new one""

This change reverts r351626.

The changes in r351626 cause quadratic work in several cases. (See r351626 thread on llvm-commits for details.)

llvm-svn: 352722
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-cse-inttoptrs.ll [deleted file]