summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-10-12 01:15:47 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-10-12 01:15:47 +0000
commit21c4adcdd8b0c2032c09f4b556f0f80ff70b9a18 (patch)
treec98b99c2af82948f0f1bfe164ddcfb5fd09e7cc0 /llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
parent408668a834c85959f210f68504b7075a4cfdc7f3 (diff)
downloadbcm5719-llvm-21c4adcdd8b0c2032c09f4b556f0f80ff70b9a18.tar.gz
bcm5719-llvm-21c4adcdd8b0c2032c09f4b556f0f80ff70b9a18.zip
Legalizer optimize a pair of div / mod to a call to divrem libcall if they are
not legal. However, it should use a div instruction + mul + sub if divide is legal. The rem legalization code was missing a check and incorrectly uses a divrem libcall even when div is legal. rdar://12481395 llvm-svn: 165778
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud