Revert "Loose IR support"

This reverts commit e43c45ffcbc2b22b62d7d0b1077405c41f5ab6e3.