Any pendulum undergoes SHM when the amplitude is small. For large amplitudes, the oscillation is no longer simple harmonic because the angular acceleration is not proportional to the negative of the angular displacement.
Illustration 16.2
Illustration 16.2b