I submitted an issue on  the Swift for ARM repository and the maintainer said he wasn't seeing the IF compare issue with  the current build (5.12) of the Swift compiler. The posted binaries are 5.11 so I decided to build Swift from source. This repository is a front end  build for the RPi but grabs the source from Apple's release source repositories. I had to move the llvm-project directory of files/directories down to base directory so the build.sh script would run. Since I'm building on the RPi 4B with 4 GB of memory, I passed on the swap file set of instructions.  I'll post the release .tar.gz when it finishes the build, (says a couple hours)