[llvm] r196509 - Add a default constructor to get deterministic behavior.
Rafael Espindola
rafael.espindola at gmail.com
Thu Dec 5 08:21:18 PST 2013
Author: rafael
Date: Thu Dec 5 10:21:17 2013
New Revision: 196509
URL: http://llvm.org/viewvc/llvm-project?rev=196509&view=rev
Log:
Add a default constructor to get deterministic behavior.
Should fix the msan and valgrind bots.
Modified:
llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.h
Modified: llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.h?rev=196509&r1=196508&r2=196509&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.h (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUAsmPrinter.h Thu Dec 5 10:21:17 2013
@@ -24,6 +24,7 @@ namespace llvm {
class AMDGPUAsmPrinter : public AsmPrinter {
private:
struct SIProgramInfo {
+ SIProgramInfo() : NumSGPR(0), NumVGPR(0) {}
unsigned NumSGPR;
unsigned NumVGPR;
};
More information about the llvm-commits
mailing list