diff options
author | Greg Clayton <gclayton@apple.com> | 2016-05-31 22:29:56 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2016-05-31 22:29:56 +0000 |
commit | 892fa7dbcb631c5af36949ec16af4530e2b44eaf (patch) | |
tree | ab1cef061f31e512f3f6a6a048f5e870de4342aa /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | ed0b620a653091f225743ce790d260b1d6f6a97e (diff) | |
download | bcm5719-llvm-892fa7dbcb631c5af36949ec16af4530e2b44eaf.tar.gz bcm5719-llvm-892fa7dbcb631c5af36949ec16af4530e2b44eaf.zip |
Add more verification on consectutive bitfields otherwise clang will assert.
We need to verify that consecutive bitfields have higher offsets and don't overlap. The issues was found by running a broken version of recent clangs where the bitfield offsets were being emitted incorrectly. To guard against this we now verify and toss out any invalid bitfields and print a message that indicates to file a bug against the compiler.
<rdar://problem/25737621>
llvm-svn: 271343
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions