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 | cecf3f94a4f2bbe9bed37e1ee5248f3b2de230fc (patch) | |
| tree | 746ae828a84153cc30b962f801461c4d5bc8f8aa /llvm/lib/Support/Annotation.cpp | |
| parent | cf5822a2be568c2f67aeab8f51721c133bdea0b7 (diff) | |
| download | bcm5719-llvm-cecf3f94a4f2bbe9bed37e1ee5248f3b2de230fc.tar.gz bcm5719-llvm-cecf3f94a4f2bbe9bed37e1ee5248f3b2de230fc.zip | |
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
llvm-svn: 13407
Diffstat (limited to 'llvm/lib/Support/Annotation.cpp')
0 files changed, 0 insertions, 0 deletions

