summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-02-19 17:37:35 +0000
committerChris Lattner <sabre@nondot.org>2008-02-19 17:37:35 +0000
commit97b9662f7808e8c2814ce34864e0033dceb74938 (patch)
treebb15dde72cdb88f55ea0bd0e3faaa65903451d70 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent08162d9515659ded2bf434c548f7e97b794bc851 (diff)
Don't fold and's into test instructions if they have multiple uses.
This compiles test-nofold.ll into: _test: movl $15, %ecx andl 4(%esp), %ecx testl %ecx, %ecx movl $42, %eax cmove %ecx, %eax ret instead of: _test: movl 4(%esp), %eax movl %eax, %ecx andl $15, %ecx testl $15, %eax movl $42, %eax cmove %ecx, %eax ret llvm-svn: 47330
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions