commit | b76c6d38561645d32737beb8007d6c936f42119b | [log] [tgz] |
---|---|---|
author | Marcin Koscielnicki <koriakin@0x04.net> | Mon Nov 21 20:20:39 2016 +0000 |
committer | Marcin Koscielnicki <koriakin@0x04.net> | Mon Nov 21 20:20:39 2016 +0000 |
tree | 308c008a79a3bb5a324b1fea38c1b439e6fdecbb | |
parent | e5154e99c33c8a1baa31bf7c8e01a251f6c2e9c7 [diff] |
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287570 91177308-0d34-0410-b5e6-96231b3b80d8