summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-14 23:54:06 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-14 23:54:06 +0000
commitc7cf42d80bd5e364127760ccfb8402e3feb5f306 (patch)
treefb6ef956972fe59da0479acbeac634d5398f25f8 /clang/lib/Frontend/ASTUnit.cpp
parent17f692087a4adebd707b429bd6931ead439c86a4 (diff)
downloadbcm5719-llvm-c7cf42d80bd5e364127760ccfb8402e3feb5f306.tar.gz
bcm5719-llvm-c7cf42d80bd5e364127760ccfb8402e3feb5f306.zip
Reapply r113875 with additional cleanups.
"The register specified for a dregpair is the corresponding Q register, so to get the pair, we need to look up the sub-regs based on the qreg. Create a lookup function since we don't have access to TargetRegisterInfo here to be able to use getSubReg(ARM::dsub_[01])." Additionaly, fix the NEON VLD1* and VST1* instruction patterns not to use the dregpair modifier for the 2xdreg versions. Explicitly specifying the two registers as operands is more correct and more consistent with the other instruction patterns. This enables further cleanup of special case code in the disassembler as a nice side-effect. llvm-svn: 113903
Diffstat (limited to 'clang/lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud