Fix PR16687 where we were incorrectly promoting an alloca that had