[PATCH] D45198: [GlobalOpt] Fix support for casts in ctors.

Mircea Trofin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 21:59:33 PDT 2018


mtrofin created this revision.
Herald added a subscriber: llvm-commits.

Fixing an issue where initializations of globals where constructors use
casts were silently translated to 0-initialization.


Repository:
  rL LLVM

https://reviews.llvm.org/D45198

Files:
  lib/Transforms/Utils/Evaluator.cpp
  test/Transforms/GlobalOpt/static-const-bitcast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45198.140737.patch
Type: text/x-patch
Size: 3778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/b8d71b8c/attachment.bin>


More information about the llvm-commits mailing list