Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Issue 10808110: Fix cases where fast instruction selection generated both base and index registers (Closed)

Created:
8 years, 5 months ago by Karl
Modified:
8 years, 5 months ago
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Fix cases where fast instruction selection generated both base and index registers. We fall back to normal instruction selection in that case. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2544

Patch Set 1 #

Total comments: 6

Patch Set 2 : Conditionalize code based on nacl target #

Patch Set 3 : Conditionalize code based on nacl target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -3 lines) Patch
M llvm/lib/Target/X86/X86FastISel.cpp View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M llvm/lib/Target/X86/X86NaClRewritePass.cpp View 1 2 1 chunk +17 lines, -3 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Karl
Please review. Thanks.
8 years, 5 months ago (2012-07-24 20:44:33 UTC) #1
Derek Schuff
otherwise LGTM don't forget before you commit to make sure your local hg is up ...
8 years, 5 months ago (2012-07-24 21:07:47 UTC) #2
jvoung - send to chromium...
http://codereview.chromium.org/10808110/diff/1/llvm/lib/Target/X86/X86FastISel.cpp File llvm/lib/Target/X86/X86FastISel.cpp (right): http://codereview.chromium.org/10808110/diff/1/llvm/lib/Target/X86/X86FastISel.cpp#newcode585 llvm/lib/Target/X86/X86FastISel.cpp:585: if ((AM.Base.Reg == 0) && (AM.IndexReg == 0)) { ...
8 years, 5 months ago (2012-07-24 21:08:35 UTC) #3
robertm
+1 for using if guard statements. On 2012/07/24 21:08:35, jvoung wrote: > http://codereview.chromium.org/10808110/diff/1/llvm/lib/Target/X86/X86FastISel.cpp > File ...
8 years, 5 months ago (2012-07-24 21:20:17 UTC) #4
Karl
Please take another look. Thanks. http://codereview.chromium.org/10808110/diff/1/llvm/lib/Target/X86/X86FastISel.cpp File llvm/lib/Target/X86/X86FastISel.cpp (right): http://codereview.chromium.org/10808110/diff/1/llvm/lib/Target/X86/X86FastISel.cpp#newcode585 llvm/lib/Target/X86/X86FastISel.cpp:585: if ((AM.Base.Reg == 0) ...
8 years, 5 months ago (2012-07-24 22:05:30 UTC) #5
jvoung - send to chromium...
8 years, 5 months ago (2012-07-24 22:19:21 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698