diff options
author | Kalle Raiskila <kalle.raiskila@nokia.com> | 2010-10-07 16:24:35 +0000 |
---|---|---|
committer | Kalle Raiskila <kalle.raiskila@nokia.com> | 2010-10-07 16:24:35 +0000 |
commit | 8a52fa674b78ff0fdc04b1bf1124aa57c007f8ff (patch) | |
tree | 82c5c2923b991dcf94772e2cb4b40c726e443222 /lib/Transforms/Utils/Utils.cpp | |
parent | 86c3647ddfa8c39ed5d9eba9f2547544270c7bde (diff) |
Implement two virtual functions in SPUTargetLowering.
Before the implementation of isLegalAddressingMode, some rare cases
of code were miscompiled if optimized with the LoopStrengthReduce pass.
It is unclear (to me) if LSR is "allowed" to produce wrong code with a
bad TargetLowering, or if the bug is elsewhere and this patch just
hides it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions