Noooo! Why do it voltage-mode only, when you have access to the internal current control node?
http://www.ti.com/lit/ds/symlink/lm5117.pdf page 12
V(COMP) - 1.2V is compared to the measured/estimated output current. The pin can sink/source at least 3mA, implying the error amp is a conventional voltage-mode op-amp, and probably shouldn't be overdriven*. So, we should use a feedback clamping circuit instead, like this:

The error amp and feedback network is the internal error amp, so the discrete circuit only needs to attach to the FB and COMP pins, with everything else as normal in the application circuit.
*This is handy in transconductance type error amps, where the COMP node is loaded with an R+C to ground to set compensation (rather than an R+C feedback to -in, as a voltage-mode amp uses), and V(COMP) min/max can be set with simple diode clamps. TPS54233 for example can be used this way.
Tim