summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetInstrInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-07 19:55:55 +0000
committerChris Lattner <sabre@nondot.org>2004-05-07 19:55:55 +0000
commitcecf3f94a4f2bbe9bed37e1ee5248f3b2de230fc (patch)
tree746ae828a84153cc30b962f801461c4d5bc8f8aa /llvm/lib/Target/TargetInstrInfo.cpp
parentcf5822a2be568c2f67aeab8f51721c133bdea0b7 (diff)
downloadbcm5719-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/Target/TargetInstrInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud