aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-02-19 15:22:44 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-02-19 15:22:44 +0000
commit8d469edbe3d2b0ab4bd3fe95b8dfdfc0f0aca5ec (patch)
tree8b66c1f1a05f79da868fb5e3258ec11dded355db /llvm/lib/CodeGen/InterferenceCache.cpp
parent0f965aaf9bd9f41d152e4d1d7abf59cb448cc0ad (diff)
downloadllvm-8d469edbe3d2b0ab4bd3fe95b8dfdfc0f0aca5ec.zip
llvm-8d469edbe3d2b0ab4bd3fe95b8dfdfc0f0aca5ec.tar.gz
llvm-8d469edbe3d2b0ab4bd3fe95b8dfdfc0f0aca5ec.tar.bz2
R600: Fix scheduler crash caused by invalid MachinePointerInfo
Kernel function arguments are lowered to loads from the PARAM_I address space. When creating these load instructions, we were initializing their MachinePointerInfo with an Arguement object that was not attached to any function. This was causing the MachineScheduler to crash when it tried to access the parent of the Arguement. This has been fixed by initializing the MachinePointerInfo with a UndefValue instead. NOTE: This is a candidate for the Mesa stable branch. llvm-svn: 175517
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions