Breaking AI Chip Silos: Building a Unified Compiler and Common IR Layer