comdat.ll 420 B

1234567891011121314151617181920
  1. target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32"
  2. target triple = "i686-pc-windows-msvc"
  3. $foo = comdat largest
  4. @foo = global i64 43, comdat($foo)
  5. define i32 @bar() comdat($foo) {
  6. ret i32 43
  7. }
  8. $qux = comdat largest
  9. @qux = global i32 13, comdat($qux)
  10. @in_unselected_group = global i32 13, comdat($qux)
  11. define i32 @baz() comdat($qux) {
  12. ret i32 13
  13. }
  14. $any = comdat any
  15. @any = global i64 7, comdat($any)