diff options
author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-11-21 20:20:39 +0000 |
---|---|---|
committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-11-21 20:20:39 +0000 |
commit | 6af8e6c3d533c756449366716b63672260fb9279 (patch) | |
tree | 359fd99c8efd27a94978a3cdc2f55b37ac40c7ad /llvm/lib/CodeGen/SplitKit.cpp | |
parent | 28d5f059ae1ff0e2a8d91f503dc3d9746eafab7a (diff) | |
download | llvm-6af8e6c3d533c756449366716b63672260fb9279.zip llvm-6af8e6c3d533c756449366716b63672260fb9279.tar.gz llvm-6af8e6c3d533c756449366716b63672260fb9279.tar.bz2 |
[TLI] Fix breakage introduced by D21739.
The initialize function has an early return for AMDGPU targets. If taken,
the ShouldExtI32* initialization code will not be executed, resulting in
invalid values in the corresponding fields. Fix this by moving the code
to the top of the function.
llvm-svn: 287570
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions