OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1de558b
)
Be gentle to MSVC. C++ is hard, after all.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 30 Mar 2010 00:09:32 +0000
(
00:09
+0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 30 Mar 2010 00:09:32 +0000
(
00:09
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99855
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/SSEDomainFix.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/SSEDomainFix.cpp
b/lib/Target/X86/SSEDomainFix.cpp
index
3e456c2
..
415c1e8
100644
(file)
--- a/
lib/Target/X86/SSEDomainFix.cpp
+++ b/
lib/Target/X86/SSEDomainFix.cpp
@@
-203,14
+203,15
@@
void SSEDomainFixPass::Kill(int rx) {
/// Force register rx into domain.
void SSEDomainFixPass::Force(int rx, unsigned domain) {
hasLiveRegs = true;
- if (DomainValue *dv = LiveRegs[rx]) {
+ DomainValue *dv;
+ if ((dv = LiveRegs[rx])) {
if (dv->collapsed())
dv->add(domain);
else
Collapse(dv, domain);
} else {
// Set up basic collapsed DomainValue
-
DomainValue *
dv = Pool.Alloc();
+ dv = Pool.Alloc();
dv->add(domain);
SetLiveReg(rx, dv);
}