summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2012-10-03 16:11:44 +0000
committerPreston Gurd <preston.gurd@intel.com>2012-10-03 16:11:44 +0000
commit5509e3d7270e53d845896e8c7ef1a3113b1ee75c (patch)
treec6a976f2f576259546ef6d12e30524a5cde0315e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7cbc12a41d72bf106e3075878b4f1f6047085e87 (diff)
downloadbcm5719-llvm-5509e3d7270e53d845896e8c7ef1a3113b1ee75c.tar.gz
bcm5719-llvm-5509e3d7270e53d845896e8c7ef1a3113b1ee75c.zip
This Patch corrects a problem whereby the optimization to use a faster divide
instruction (for Intel Atom) was not being done by Clang, because the type context used by Clang is not the default context. It fixes the problem by getting the global context types for each div/rem instruction in order to compare them against the types in the BypassTypeMap. Tests for this will be done as a separate patch to Clang. Patch by Tyler Nowicki. llvm-svn: 165126
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud