RESOLVED FIXED Bug 129054
FTL should be able to convey branch weights to LLVM
https://bugs.webkit.org/show_bug.cgi?id=129054
Summary FTL should be able to convey branch weights to LLVM
Filip Pizlo
Reported 2014-02-19 12:21:09 PST
Patch forthcoming.
Attachments
the patch (68.74 KB, patch)
2014-02-19 13:05 PST, Filip Pizlo
no flags
the patch (68.85 KB, patch)
2014-02-19 13:23 PST, Filip Pizlo
msaboff: review+
Filip Pizlo
Comment 1 2014-02-19 13:05:43 PST
Created attachment 224665 [details] the patch
WebKit Commit Bot
Comment 2 2014-02-19 13:07:28 PST
Attachment 224665 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp:1368: Wrong number of spaces before statement. (expected: 24) [whitespace/indent] [4] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:76: The parameter name "module" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:85: The parameter name "block" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:87: The parameter name "block" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:188: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:212: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:250: The parameter name "scale" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 7 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 3 2014-02-19 13:09:17 PST
(In reply to comment #2) > Attachment 224665 [details] did not pass style-queue: > > > ERROR: Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp:1368: Wrong number of spaces before statement. (expected: 24) [whitespace/indent] [4] You expected wrong. > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:76: The parameter name "module" adds no information, so it should be removed. [readability/parameter_name] [5] > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:85: The parameter name "block" adds no information, so it should be removed. [readability/parameter_name] [5] > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:87: The parameter name "block" adds no information, so it should be removed. [readability/parameter_name] [5] > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:188: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:212: The parameter name "value" adds no information, so it should be removed. [readability/parameter_name] [5] > ERROR: Source/JavaScriptCore/ftl/FTLOutput.h:250: The parameter name "scale" adds no information, so it should be removed. [readability/parameter_name] [5] Fixed. > Total errors found: 7 in 11 files > > > If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 4 2014-02-19 13:23:13 PST
Created attachment 224667 [details] the patch Made the termnology better (usually/rarely instead of always/never).
Michael Saboff
Comment 5 2014-02-19 13:24:06 PST
Comment on attachment 224667 [details] the patch r=me
WebKit Commit Bot
Comment 6 2014-02-19 13:25:28 PST
Attachment 224667 [details] did not pass style-queue: ERROR: Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp:1368: Wrong number of spaces before statement. (expected: 24) [whitespace/indent] [4] Total errors found: 1 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 7 2014-02-19 14:25:25 PST
Geoffrey Garen
Comment 8 2014-02-19 14:45:33 PST
Comment on attachment 224667 [details] the patch View in context: https://bugs.webkit.org/attachment.cgi?id=224667&action=review > Source/JavaScriptCore/ftl/FTLWeight.h:55 > + // LLVM accepts branch 32-bit unsigned branch weights but in dumps it might "branch 32-bit unsigned branch"
Note You need to log in before you can comment on or make changes to this bug.