aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 20:02:57 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 20:02:57 +0000
commit70add884e4967f511e2cbb35c61534186b9b418a (patch)
tree014c64f2da4c1c78c71800aaa9bb3699a86839f3 /lib/Target/XCore/XCoreTargetObjectFile.cpp
parentd39bd3aa5c795e55c0e2c4a5c72dab58ce1a1576 (diff)
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 :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions