]> granicus.if.org Git - clang/commit
On i386 and x86-64, just do unaligned loads
authorChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2009 02:19:16 +0000 (02:19 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Jan 2009 02:19:16 +0000 (02:19 +0000)
commitf15674c680730c652a37a16a5d3f3ff429b0c308
tree67c12a3c815842d99eba836356d24ff8783cd711
parent775841fd76a7aead92c10cec4acb5e8a199f53b1
On i386 and x86-64, just do unaligned loads
instead of assembling from bytes.  This speeds up -Eonly PTH reading
of cocoa.h by about 2ms, which is 4.2%.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62447 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PTHLexer.cpp