Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
fa4907d6
Commit
fa4907d6
authored
6 years ago
by
Craig Topper
Browse files
Options
Downloads
Patches
Plain Diff
[X86] Fix bad operand lookup for cmov introduced in r349315
The CC is operand 2 not operand 3. llvm-svn: 349330
parent
c68ce89a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/lib/Target/X86/X86ISelLowering.cpp
+1
-1
1 addition, 1 deletion
llvm/lib/Target/X86/X86ISelLowering.cpp
with
1 addition
and
1 deletion
llvm/lib/Target/X86/X86ISelLowering.cpp
+
1
−
1
View file @
fa4907d6
...
@@ -39933,7 +39933,7 @@ static bool needCarryOrOverflowFlag(SDValue Flags) {
...
@@ -39933,7 +39933,7 @@ static bool needCarryOrOverflowFlag(SDValue Flags) {
CC = (X86::CondCode)User->getConstantOperandVal(2);
CC = (X86::CondCode)User->getConstantOperandVal(2);
break;
break;
case X86ISD::CMOV:
case X86ISD::CMOV:
CC = (X86::CondCode)User->getConstantOperandVal(
3
);
CC = (X86::CondCode)User->getConstantOperandVal(
2
);
break;
break;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment