diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-09-03 21:12:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-09-03 21:12:15 +0000 |
commit | 99d95328d6af9b99a607aec6ece9a950c38c8913 (patch) | |
tree | 3c12e64e441eb723eb7f8a620135e33914c16e69 /clang/lib/Analysis/ThreadSafety.cpp | |
parent | c079df09a6c38a88ee4f921857682413350ff734 (diff) | |
download | llvm-99d95328d6af9b99a607aec6ece9a950c38c8913.zip llvm-99d95328d6af9b99a607aec6ece9a950c38c8913.tar.gz llvm-99d95328d6af9b99a607aec6ece9a950c38c8913.tar.bz2 |
[PowerPC] Compute the MMO offset for an unaligned load with signed arithmetic
If you compute the MMO offset using unsigned arithmetic, you end up with a
large positive offset instead of a small negative one. In theory, this could
cause bad instruction-scheduling decisions later.
I noticed this by inspection from the debug output, and using that for the
regression test is the best I can do right now.
llvm-svn: 246805
Diffstat (limited to 'clang/lib/Analysis/ThreadSafety.cpp')
0 files changed, 0 insertions, 0 deletions