[patch] RFC: shark llvm 2.6svn r73431 api breakage fix - changelog entry
Xerxes Rånby
xerxes at zafena.se
Tue Jun 16 07:17:50 PDT 2009
Suggested changelog entry:
2009-06-16 Xerxes Rånby <xerxes at zafena.se>
* ports/hotspot/src/share/vm/shark/llvmValue.hpp
(jfloat_constant): Return llvm::Constant* when llvm
version are 2.6 or later to handle llvm r73431 API change.
(jdouble_constant): Likewise.
* ports/hotspot/src/share/vm/shark/sharkBlock.cpp
(SharkBlock::parse_bytecode): Updated to use CreateFAdd
CreateFSub, CreateFMul and CreateFNeg for jfloat and jdouble
when llvm version are 2.6 or later.
Xerxes Rånby skrev:
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-June/023073.html
> Add Sub Mul Neg have been split into FAdd FSub FMul FNeg for improved
> integer / floatingpoint operation
> llvm_api_breakage.patch
> improves floatingpoint performance by taking advandtage of this change.
>
> The llvm 2.6svn tip have improved support for vector types since
> r73431 and some api's have changed to return Constant* instead of
> ConstantFP*
> llvm_api_breakage_2.patch
> fixes this issue.
>
> Cheers
> Xerxes
More information about the zero-dev
mailing list