This is an archive of the discontinued LLVM Phabricator instance.

[cpu-detection] Add missing break statements in outer switches
ClosedPublic

Authored by asbirlea on Jun 8 2016, 5:01 PM.

Details

Summary

Break on all switch cases for outer and inner switches.
Fixes fall-through bug introduced by r271726, having no functionality changed intended.

Diff Detail

Repository
rL LLVM

Event Timeline

asbirlea updated this revision to Diff 60119.Jun 8 2016, 5:01 PM
asbirlea retitled this revision from to [cpu-detection] Add missing break statements in outer switches.
asbirlea updated this object.
asbirlea added reviewers: llvm-commits, sanjoy.
sanjoy accepted this revision.Jun 8 2016, 5:04 PM
sanjoy edited edge metadata.

lgtm, but I don't think it is correct to state "No functionality changed." in the commit message.

This revision is now accepted and ready to land.Jun 8 2016, 5:04 PM
asbirlea updated this object.Jun 8 2016, 5:11 PM
asbirlea edited edge metadata.

Updated. Hope this explains it better.

This revision was automatically updated to reflect the committed changes.