X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FNVPTX%2FNVPTXAllocaHoisting.h;h=d3305701a5b7a18e492d986ab47de18be263b082;hb=cd700230074b354b63c53da2bdb85a4aa236ee20;hp=768d514dbb13c52ac6e2094820e00ed2b3bde106;hpb=a1514e24cc24b050f53a12650e047799358833a1;p=oota-llvm.git diff --git a/lib/Target/NVPTX/NVPTXAllocaHoisting.h b/lib/Target/NVPTX/NVPTXAllocaHoisting.h index 768d514dbb1..d3305701a5b 100644 --- a/lib/Target/NVPTX/NVPTXAllocaHoisting.h +++ b/lib/Target/NVPTX/NVPTXAllocaHoisting.h @@ -15,7 +15,7 @@ #define NVPTX_ALLOCA_HOISTING_H_ #include "llvm/CodeGen/MachineFunctionAnalysis.h" -#include "llvm/DataLayout.h" +#include "llvm/IR/DataLayout.h" #include "llvm/Pass.h" namespace llvm { @@ -32,6 +32,7 @@ public: void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(); + AU.addPreserved("stack-protector"); AU.addPreserved(); }