diff options
| author | Daniel Sanders <daniel_l_sanders@apple.com> | 2016-12-06 14:39:57 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2016-12-06 14:39:57 +0000 |
| commit | 4fd1e7c628b6048b8c0f455bbe06b8c8c614335e (patch) | |
| tree | 2b8e2b854bf9116f1507753006eaa52e5de25338 /clang/lib/CodeGen/CGBlocks.cpp | |
| parent | 1b8eb4104b6198785c164be4a451fc04e03bd371 (diff) | |
| download | bcm5719-llvm-4fd1e7c628b6048b8c0f455bbe06b8c8c614335e.tar.gz bcm5719-llvm-4fd1e7c628b6048b8c0f455bbe06b8c8c614335e.zip | |
[globalisel][aarch64] Fix unintended assumptions about PartialMappingIdx. NFC.
Summary:
This is NFC but prevents assertions when PartialMappingIdx is tablegen-erated.
The assumptions were:
1) FirstGPR is 0
2) FirstGPR is the first of the First* enumerators.
GPR32 is changed to 1 to demonstrate that assumption #1 is fixed. #2 will
be covered by a subsequent patch that tablegen-erates information and swaps
the order of GPR and FPR as a side effect.
Depends on D27336
Reviewers: ab, t.p.northover, qcolombet
Subscribers: aemerson, rengolin, vkalintiris, dberris, rovka, llvm-commits
Differential Revision: https://reviews.llvm.org/D27337
llvm-svn: 288812
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.cpp')
0 files changed, 0 insertions, 0 deletions

