diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-07 19:55:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-07 19:55:55 +0000 |
commit | 260195d2b1a2a3be54d932ccd8da45346bec5676 (patch) | |
tree | 886b7b00decba771065d42e937db669d53f7b122 /lib/CodeGen/ModuloScheduling/MSchedGraph.h | |
parent | add68af0314949857697b8dc2ac145dca842c7a1 (diff) |
Make comparisons against the null pointer as efficient as integer comparisons
against zero. In particular, don't emit:
mov %ESI, 0
cmp %ECX, %ESI
instead, emit:
test %ECX, %ECX
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/MSchedGraph.h')
0 files changed, 0 insertions, 0 deletions