aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/CostModel.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-01-22 20:20:52 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-01-22 20:20:52 +0000
commit28a85a84ac708ce703aa2509ba30ce1dcc453cc3 (patch)
tree01423cd41118868a20a88771f8ea9594992b401c /llvm/lib/Analysis/CostModel.cpp
parent5a8739e0235ee2c5fb09ab2608ac0431698324bb (diff)
downloadllvm-28a85a84ac708ce703aa2509ba30ce1dcc453cc3.zip
llvm-28a85a84ac708ce703aa2509ba30ce1dcc453cc3.tar.gz
llvm-28a85a84ac708ce703aa2509ba30ce1dcc453cc3.tar.bz2
Fix pr18515.
My understanding (from reading just the llvm code) is that * most ppc cpus have a "sync n" instruction and an msync alias that is "sync 0". * "book e" cpus instead have a msync instruction and not the more general "sync n" This patch reflects that in the .td files, allowing a single codepath for asm ond obj streamer and incidentelly fixes a crash when EmitRawText was called on a obj streamer. llvm-svn: 199832
Diffstat (limited to 'llvm/lib/Analysis/CostModel.cpp')
0 files changed, 0 insertions, 0 deletions