aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/FoldingSet.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-03-08 02:14:24 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-03-08 02:14:24 +0000
commite2bdf7fc935008dda6fba3d6fdd0a12193fd7b18 (patch)
tree5daacbfebbe8ea7d8df020f5fbdb9095d00f24f0 /include/llvm/ADT/FoldingSet.h
parent6f130bf368ab082ab87bafaee9bf4e1a78acc669 (diff)
downloadexternal_llvm-e2bdf7fc935008dda6fba3d6fdd0a12193fd7b18.zip
external_llvm-e2bdf7fc935008dda6fba3d6fdd0a12193fd7b18.tar.gz
external_llvm-e2bdf7fc935008dda6fba3d6fdd0a12193fd7b18.tar.bz2
Swap the operands of a select node if the false (the second) operand is 0.
For example, this pattern (select (setcc lhs, rhs, cc), true, 0) is transformed to this one: (select (setcc lhs, rhs, inverse(cc)), 0, true) This enables MipsDAGToDAGISel::ReplaceUsesWithZeroReg (added in r152280) to replace 0 with $zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/FoldingSet.h')
0 files changed, 0 insertions, 0 deletions