[PATCH] Prevent hoisting fmul from THEN/ELSE to IF if there is fmsub/fmadd opportunity
Lawrence Hu
lawrence at codeaurora.org
Tue Feb 3 16:24:18 PST 2015
make it default as Hal suggested, unit test remain under AArch64, whoever want to support other target please add test.
http://reviews.llvm.org/D7299
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Target/TargetLowering.h
lib/Analysis/TargetTransformInfo.cpp
lib/CodeGen/BasicTargetTransformInfo.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/AArch64/lit.local.cfg
test/Transforms/SimplifyCFG/AArch64/prefer-fma.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7299.19286.patch
Type: text/x-patch
Size: 8352 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150204/6e2caaa9/attachment.bin>
More information about the llvm-commits
mailing list