diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:02:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:02:57 +0000 |
commit | 00e2e74fb255617aa0c7fa5adb6445068b546220 (patch) | |
tree | d34905da1f4e57f3f8f8f491e220a86866eeef32 /llvm/lib/Target/TargetLoweringObjectFile.cpp | |
parent | e139f868b7b2a38f6fadbc6707204082644307be (diff) | |
download | bcm5719-llvm-00e2e74fb255617aa0c7fa5adb6445068b546220.tar.gz bcm5719-llvm-00e2e74fb255617aa0c7fa5adb6445068b546220.zip |
add a little function to do arbitrary string pattern matching in a
much more efficient way than a sequence of if's. Switch MatchRegisterName
to use it. It would be nice if someone could factor this out to a shared
place in tblgen :)
llvm-svn: 78492
Diffstat (limited to 'llvm/lib/Target/TargetLoweringObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions