Displaying 2 results from an estimated 2 matches for "xfunc2".
Did you mean:
func2
2016 Nov 21
2
Conditional jump or move depends on uninitialised value(s)
...vm/test/CodeGen/Hexagon/hwloop-dbg.ll -march=hexagon
-mcpu=hexagonv4
The error is at this line:
https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/DeadMachineInstructionElim.cpp#L142
Here I've refactored the code into a minimal (noinline) function that
still triggers the problem. xfunc2() and xfunc3() are also noinline.
The problem goes away if either isReg() or isDef() is marked noinline.
void xfuncx(const MachineOperand &MO,
const TargetRegisterInfo *TRI,
BitVector &LivePhysRegs) {
if (MO.isReg() && // <<<<------ problem reported here...
2016 Nov 22
2
Conditional jump or move depends on uninitialised value(s)
...;
>> The error is at this line:
>>
>> https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/DeadMachineInstructionElim.cpp#L142
>>
>>
>>
>> Here I've refactored the code into a minimal (noinline) function that
>> still triggers the problem. xfunc2() and xfunc3() are also noinline.
>> The problem goes away if either isReg() or isDef() is marked noinline.
>>
>> void xfuncx(const MachineOperand &MO,
>> const TargetRegisterInfo *TRI,
>> BitVector &LivePhysRegs) {
>> if (MO.isReg() &am...