[IPRA] Don't rely on non-exact function definitions
authorOliver Stannard <oliver.stannard@linaro.org>
Fri, 19 Jul 2019 09:59:26 +0000 (09:59 +0000)
committerOliver Stannard <oliver.stannard@linaro.org>
Fri, 19 Jul 2019 09:59:26 +0000 (09:59 +0000)
commit0ed7732671b2b619937adc13376f89f52f2db572
tree80125b19bc346993d6448dd70b608b50500c0591
parent0b001f94a54a93e3e7ff080c829de8684f92630a
[IPRA] Don't rely on non-exact function definitions

If a function definition is not exact, then the linker could select a
differently-compiled version of it, which could use different registers.

https://reviews.llvm.org/D64909

llvm-svn: 366557
llvm/lib/CodeGen/RegUsageInfoPropagate.cpp
llvm/test/CodeGen/ARM/ipra-exact-definition.ll [new file with mode: 0644]