[LNT] r272289 - [Profile] Fix tb(n)z parsing.
Arnaud A. de Grandmaison via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 11:38:04 PDT 2016
Author: aadg
Date: Thu Jun 9 13:38:04 2016
New Revision: 272289
URL: http://llvm.org/viewvc/llvm-project?rev=272289&view=rev
Log:
[Profile] Fix tb(n)z parsing.
Copy / pasting the cb(n)z regex was not enough, as tb(n) has an
additional operand.
Modified:
lnt/trunk/lnt/server/ui/static/lnt_profile.js
Modified: lnt/trunk/lnt/server/ui/static/lnt_profile.js
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/static/lnt_profile.js?rev=272289&r1=272288&r2=272289&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/static/lnt_profile.js (original)
+++ lnt/trunk/lnt/server/ui/static/lnt_profile.js Thu Jun 9 13:38:04 2016
@@ -88,7 +88,7 @@ InstructionSetParser.prototype = {
// ret
[new RegExp("^\\s*ret"), true],
// tb(n)z
- [new RegExp("^\\s*tbn?z\\s+[^,]+,\\s*([^\\s]+)"), false]
+ [new RegExp("^\\s*tbn?z\\s+[^,]+,\\s+[^,]+,\\s*([^\\s]+)"), false]
],
AArch32T32JumpTargetRegexps: [
More information about the llvm-commits
mailing list