summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-27 02:38:23 +0000
committerChris Lattner <sabre@nondot.org>2006-02-27 02:38:23 +0000
commit3e88a4d700d912e9a5d91f22f4f9026783aec709 (patch)
tree76086007d6c50186323a7dc61e81e26ab49ae308 /autoconf
parentf76f5da19b339b25e8f8f6cdd361dbe4ff4f197b (diff)
downloadllvm-3e88a4d700d912e9a5d91f22f4f9026783aec709.tar.gz
llvm-3e88a4d700d912e9a5d91f22f4f9026783aec709.tar.bz2
llvm-3e88a4d700d912e9a5d91f22f4f9026783aec709.tar.xz
Merge two almost-identical pieces of code.
Make this code more powerful by using ComputeMaskedBits instead of looking for an AND operand. This lets us fold this: int %test23(int %a) { %tmp.1 = and int %a, 1 %tmp.2 = seteq int %tmp.1, 0 %tmp.3 = cast bool %tmp.2 to int ;; xor tmp1, 1 ret int %tmp.3 } into: xor (and a, 1), 1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
0 files changed, 0 insertions, 0 deletions