summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/PCHWriter.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-15 23:12:05 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-15 23:12:05 +0000
commit419160bd79c9855aaa273479827fc8989f4c3f68 (patch)
tree4b7c1589b4d8168e2846fd3eaa965741fa18aa83 /clang/lib/Frontend/PCHWriter.cpp
parent78236a0788ce7fac0ad4044edc5fecc45a9fbb33 (diff)
downloadbcm5719-llvm-419160bd79c9855aaa273479827fc8989f4c3f68.tar.gz
bcm5719-llvm-419160bd79c9855aaa273479827fc8989f4c3f68.zip
Revert svn r80498 and replace it with a different solution. The only problem
I can see with the original code was that I forgot that this runs after type legalization and hence the result type will always be i32. (Custom legalization of EXTRACT_VECTOR_ELT is only enabled for vector types with 8- and 16-bit elements.) Regarding the FIXME comment: any information about sign and zero-extension should be captured by separate extension operations. The DAG combiner should handle those to produce either VGETLANEu or VGETLANEs, and that seems to be working now. If there are cases that we're missing, let me know. llvm-svn: 84218
Diffstat (limited to 'clang/lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud