Remove unneeded preservation and restore of ValueMap and ClastVars in GPGPU code
generation.
We don't use the exact same way to build loop body for GPGPU codegen as openmp
codegen and other transformations do currently, in which cases 'createLoop'
function is called recursively. GPGPU codegen may fail due to improper restore
of ValueMap and ClastVars .
Contributed by: Yabin Hu <yabin.hwu@gmail.com>
Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168966
llvm-svn: 170745