summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/Mips16ISelDAGToDAG.h
diff options
context:
space:
mode:
authorShuxin Yang <shuxin.llvm@gmail.com>2013-03-14 18:08:26 +0000
committerShuxin Yang <shuxin.llvm@gmail.com>2013-03-14 18:08:26 +0000
commita0c9939873c404f272b3e0abb102c335146764fe (patch)
tree84f6e3312578dad30c29dacf3e2a37323695fa74 /lib/Target/Mips/Mips16ISelDAGToDAG.h
parentd9e90b20e28c42bc35d0668cab5c07b44d28f0cc (diff)
downloadllvm-a0c9939873c404f272b3e0abb102c335146764fe.tar.gz
llvm-a0c9939873c404f272b3e0abb102c335146764fe.tar.bz2
llvm-a0c9939873c404f272b3e0abb102c335146764fe.tar.xz
Perform factorization as a last resort of unsafe fadd/fsub simplification.
Rules include: 1)1 x*y +/- x*z => x*(y +/- z) (the order of operands dosen't matter) 2) y/x +/- z/x => (y +/- z)/x The transformation is disabled if the new add/sub expr "y +/- z" is a denormal/naz/inifinity. rdar://12911472 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/Mips16ISelDAGToDAG.h')
0 files changed, 0 insertions, 0 deletions