mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
lib/Target/X86/InstSelectSimple.cpp:
The MachineBasicBlock variable name patrol hereby fines Chris Lattner one bag of nachos, for shadowing global names while his license to do so was under suspension. llvm-svn: 5014
This commit is contained in:
parent
0bfbbc73f2
commit
460fe53768
@ -207,7 +207,7 @@ namespace {
|
||||
// the register here...
|
||||
//
|
||||
if (Constant *C = dyn_cast<Constant>(V)) {
|
||||
copyConstantToRegister(C, Reg, BB, IPt);
|
||||
copyConstantToRegister(C, Reg, MBB, IPt);
|
||||
} else if (GlobalValue *GV = dyn_cast<GlobalValue>(V)) {
|
||||
// Move the address of the global into the register
|
||||
BMI(MBB, IPt, X86::MOVir32, 1, Reg).addReg(GV);
|
||||
|
Loading…
Reference in New Issue
Block a user